Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008162/0.0008164, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004789/0.004789, allocations: 169.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.642/2.642, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 15.22 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2447, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0009361/0.2457, allocations: 0.5415 MB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.2458, allocations: 43.78 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.2459, allocations: 0 / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.2459, allocations: 3.938 kB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.246, allocations: 3.938 kB / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.326e-05/0.246, allocations: 15.98 kB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.446e-05/0.2461, allocations: 59.84 kB / 1.059 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2462, allocations: 39.95 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.233e-05/0.2463, allocations: 19.88 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.2463, allocations: 19.8 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2463, allocations: 0 / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-06/0.2464, allocations: 8 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.2464, allocations: 11.92 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.2464, allocations: 53.45 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.491e-05/0.2465, allocations: 67.97 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2465, allocations: 0 / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2465, allocations: 0 / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2465, allocations: 0 / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003491/0.2469, allocations: 371.3 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2469, allocations: 11.97 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.247, allocations: 42.75 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.247, allocations: 8.844 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.2472, allocations: 192.1 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.2472, allocations: 8.375 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2472, allocations: 4.375 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.2474, allocations: 91.95 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2474, allocations: 7.875 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2474, allocations: 0 / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2474, allocations: 4 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.2475, allocations: 43.92 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.248, allocations: 436.5 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.866e-05/0.248, allocations: 45.34 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.2481, allocations: 17.78 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.2481, allocations: 0 / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.2481, allocations: 34.56 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2481, allocations: 0 / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.2483, allocations: 61.62 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.2483, allocations: 85.08 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.2485, allocations: 169.4 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.2485, allocations: 25.7 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.2485, allocations: 104 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-06/0.2485, allocations: 3.984 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.2486, allocations: 13.72 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2487, allocations: 318.8 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.2487, allocations: 3.984 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.2487, allocations: 25.72 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.2488, allocations: 21.72 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2488, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.28e-05/0.2489, allocations: 61.53 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2489, allocations: 11.94 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2489, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.2489, allocations: 4.062 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.249, allocations: 4 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.249, allocations: 4 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.249, allocations: 7.844 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.249, allocations: 4 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.628e-05/0.2491, allocations: 113.8 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.2492, allocations: 15.83 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.2492, allocations: 11.88 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2492, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.2492, allocations: 12 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.2492, allocations: 3.938 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.2496, allocations: 466.8 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2496, allocations: 0 / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.2497, allocations: 4 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2497, allocations: 0 / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.2497, allocations: 3.984 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2497, allocations: 4.062 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2497, allocations: 0 / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.085e-05/0.2498, allocations: 77.94 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.2498, allocations: 96.89 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2499, allocations: 4 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.2499, allocations: 3.938 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.2499, allocations: 4.031 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.2499, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001285/0.25, allocations: 126.1 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.25, allocations: 0 / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001831/0.2502, allocations: 8 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003131/0.2505, allocations: 0.6209 MB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.2506, allocations: 15.94 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2506, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.2507, allocations: 7.984 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.2508, allocations: 9.25 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2519, allocations: 1.339 MB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2522, allocations: 0.6965 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.2522, allocations: 8.422 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.2522, allocations: 23.42 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.2522, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.2623, allocations: 1.36 MB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.2624, allocations: 213.1 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.772, allocations: 64 / 1.067 GB, free: 12.07 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches