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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001265/0.001265, allocations: 185.5 kB / 0.4902 GB, free: 2.227 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.517/1.517, allocations: 223.2 MB / 0.7992 GB, free: 14.72 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.0009181/0.0009184, allocations: 109.1 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 11.09 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2927, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.4789, allocations: 149.6 MB / 1.375 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4792, allocations: 59.97 kB / 1.375 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002685/0.4819, allocations: 1.083 MB / 1.376 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.063e-06/0.482, allocations: 0 / 1.376 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.482, allocations: 0 / 1.376 GB, free: 2.789 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.0004206/0.4824, allocations: 368.7 kB / 1.377 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4825, allocations: 8.25 kB / 1.377 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.4825, allocations: 11.86 kB / 1.377 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.4827, allocations: 190.8 kB / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4827, allocations: 4 kB / 1.377 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.4827, allocations: 19.92 kB / 1.377 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.4829, allocations: 87.38 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4829, allocations: 0 / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.483, allocations: 4 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.483, allocations: 4 kB / 1.377 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.4831, allocations: 39.92 kB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.4837, allocations: 452.6 kB / 1.378 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.4838, allocations: 41.09 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.4838, allocations: 0 / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.4839, allocations: 38.69 kB / 1.378 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4839, allocations: 0 / 1.378 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001736/0.4841, allocations: 49.55 kB / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.4841, allocations: 85.3 kB / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4843, allocations: 149 kB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.4843, allocations: 25.7 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.4844, allocations: 108 kB / 1.378 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-06/0.4844, allocations: 7.844 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.4844, allocations: 0 / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4846, allocations: 318.8 kB / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.4846, allocations: 4 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.4846, allocations: 25.72 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.4847, allocations: 13.55 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4847, allocations: 0 / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.717e-05/0.4848, allocations: 61.53 kB / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4848, allocations: 8 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4848, allocations: 0 / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4848, allocations: 0 / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.4849, allocations: 8 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4849, allocations: 64 / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.485, allocations: 7.906 kB / 1.378 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.485, allocations: 7.938 kB / 1.378 GB, free: 456 kB / 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 0.0001224/0.4851, allocations: 118.6 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.4851, allocations: 11.89 kB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.4852, allocations: 7.875 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.4852, allocations: 4 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4852, allocations: 0 / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4852, allocations: 0 / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.4856, allocations: 474.8 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4857, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.4857, allocations: 7.984 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4857, allocations: 3.938 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.4857, allocations: 0 / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4857, allocations: 3.938 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4857, allocations: 0 / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.4858, allocations: 91.64 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.4859, allocations: 89 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4859, allocations: 4 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.486, allocations: 0 / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.486, allocations: 0 / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.486, allocations: 0 / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001001/0.4861, allocations: 127.3 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4861, allocations: 0 / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001804/0.4863, allocations: 11.95 kB / 1.379 GB, free: 15.39 MB / 0.8855 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.0001396/0.4864, allocations: 111.1 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.653e-05/0.4865, allocations: 12 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4865, allocations: 0 / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.4866, allocations: 4.188 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.4867, allocations: 16 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.4871, allocations: 186.5 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.4874, allocations: 0.6965 MB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.4874, allocations: 8.422 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.4874, allocations: 11.44 kB / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of SimCode: time 3.7e-07/0.4874, allocations: 0 / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of Templates: time 0.002551/0.49, allocations: 420 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches