Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 173.1 kB / 498.1 MB, free: 5.719 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 223.2 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 100.3 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004034, allocations: 15.02 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2882, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.4718, allocations: 148.8 MB / 1.368 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4721, allocations: 63.91 kB / 1.368 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002594/0.4747, allocations: 1.086 MB / 1.369 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4747, allocations: 4 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.4747, allocations: 0 / 1.369 GB, free: 12 MB / 0.8698 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.0003914/0.4751, allocations: 375 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4752, allocations: 8.031 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.4752, allocations: 38.55 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.4753, allocations: 15.86 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.4754, allocations: 174.9 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4755, allocations: 8 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.4755, allocations: 4 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4757, allocations: 95.38 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4757, allocations: 0 / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4757, allocations: 4 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4757, allocations: 0 / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.4758, allocations: 43.91 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.4764, allocations: 452.5 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.51e-05/0.4765, allocations: 41.28 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.4765, allocations: 8.125 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.4765, allocations: 30.56 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4765, allocations: 0 / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.4767, allocations: 49.55 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.4768, allocations: 77.11 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.4769, allocations: 151.4 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.4769, allocations: 33.89 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.477, allocations: 111.9 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.477, allocations: 224 / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.477, allocations: 0 / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4772, allocations: 330.7 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.4772, allocations: 8 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.4772, allocations: 17.72 kB / 1.371 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.534e-05/0.4773, allocations: 8 kB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4773, allocations: 4 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.786e-05/0.4774, allocations: 61.53 kB / 1.371 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4774, allocations: 5.25 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4774, allocations: 0 / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4774, allocations: 0 / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.4775, allocations: 8 kB / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4775, allocations: 4 kB / 1.371 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.4776, allocations: 7.906 kB / 1.371 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.4776, allocations: 4 kB / 1.371 GB, free: 9.621 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.956e-05/0.4776, allocations: 129.7 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.4777, allocations: 11.89 kB / 1.372 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.4777, allocations: 3.875 kB / 1.372 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4777, allocations: 4 kB / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4777, allocations: 0 / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4778, allocations: 0 / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.4782, allocations: 474.8 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4782, allocations: 0 / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.4782, allocations: 7.984 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4782, allocations: 0 / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.4782, allocations: 0 / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4782, allocations: 3.984 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4782, allocations: 7.938 kB / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.654e-05/0.4783, allocations: 91.64 kB / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.4784, allocations: 89 kB / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.4784, allocations: 0 / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.4784, allocations: 0 / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-06/0.4785, allocations: 0 / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.4785, allocations: 4 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.695e-05/0.4786, allocations: 128.6 kB / 1.372 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4786, allocations: 0 / 1.372 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001742/0.4787, allocations: 11.94 kB / 1.372 GB, free: 8.555 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003902/0.4791, allocations: 0.6951 MB / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.663e-05/0.4792, allocations: 27.95 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4792, allocations: 3.938 kB / 1.373 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.4792, allocations: 4 kB / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.4794, allocations: 11.95 kB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/0.4802, allocations: 0.6942 MB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.4805, allocations: 0.7004 MB / 1.374 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.4805, allocations: 4.438 kB / 1.374 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.4805, allocations: 23.42 kB / 1.375 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.4805, allocations: 0 / 1.375 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.4931, allocations: 1.474 MB / 1.376 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.4933, allocations: 183.4 kB / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.056, allocations: 0 / 1.376 GB, free: 4.676 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat does not exist to compare? outputFormat=mat