Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.284/2.284, allocations: 393.5 MB / 408.5 MB, free: 11.02 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.001229/0.001229, allocations: 184 kB / 0.4902 GB, free: 2.301 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.616/1.616, allocations: 223.1 MB / 0.7992 GB, free: 15.63 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.0009455/0.0009456, allocations: 98.38 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003908, allocations: 10.19 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/0.5078, allocations: 149.6 MB / 1.375 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.5081, allocations: 63.97 kB / 1.375 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002767/0.5108, allocations: 1.099 MB / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5109, allocations: 0 / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.5109, allocations: 4 kB / 1.376 GB, free: 14.5 MB / 0.8855 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.0004043/0.5113, allocations: 365.2 kB / 1.377 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5114, allocations: 8.031 kB / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.5114, allocations: 19.8 kB / 1.377 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.5116, allocations: 174.9 kB / 1.377 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.5116, allocations: 8 kB / 1.377 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.5117, allocations: 8 kB / 1.377 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.5118, allocations: 92.11 kB / 1.377 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5119, allocations: 0 / 1.377 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5119, allocations: 4 kB / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5119, allocations: 4 kB / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.512, allocations: 35.98 kB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.5126, allocations: 452.5 kB / 1.378 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.5127, allocations: 33.16 kB / 1.378 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.5127, allocations: 4.031 kB / 1.378 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.5128, allocations: 38.69 kB / 1.378 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.5128, allocations: 3.938 kB / 1.378 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.513, allocations: 57.53 kB / 1.378 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.513, allocations: 77.11 kB / 1.378 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.5132, allocations: 145.1 kB / 1.378 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.5132, allocations: 25.7 kB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.5133, allocations: 108.2 kB / 1.378 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.5133, allocations: 11.91 kB / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.5134, allocations: 0 / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5135, allocations: 318.8 kB / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.5135, allocations: 4 kB / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.5136, allocations: 25.7 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.5136, allocations: 11.95 kB / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5136, allocations: 0 / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.375e-05/0.5137, allocations: 61.55 kB / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5137, allocations: 8 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5137, allocations: 0 / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5138, allocations: 0 / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.5138, allocations: 11.98 kB / 1.378 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5139, allocations: 0 / 1.378 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.5139, allocations: 11.78 kB / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.5139, allocations: 4 kB / 1.378 GB, free: 12.18 MB / 0.8855 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 9.214e-05/0.514, allocations: 122.6 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.5141, allocations: 11.91 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.5141, allocations: 11.86 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5141, allocations: 4 kB / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5141, allocations: 0 / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.5141, allocations: 0 / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.5145, allocations: 470.8 kB / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5145, allocations: 0 / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.5146, allocations: 12.06 kB / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5146, allocations: 96 / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.5146, allocations: 7.984 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5146, allocations: 0 / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5146, allocations: 4 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.5147, allocations: 91.56 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.5148, allocations: 89 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.5148, allocations: 4 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.5149, allocations: 3.938 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.5149, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.5149, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.299e-05/0.515, allocations: 119.2 kB / 1.379 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.515, allocations: 0 / 1.379 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001837/0.5152, allocations: 19.89 kB / 1.379 GB, free: 11.11 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.0001457/0.5153, allocations: 99.28 kB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.258e-05/0.5154, allocations: 16 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5154, allocations: 0 / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.5154, allocations: 11.92 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.5156, allocations: 9.797 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.516, allocations: 182.8 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.5163, allocations: 0.6965 MB / 1.38 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.5163, allocations: 8.422 kB / 1.38 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.5163, allocations: 15.44 kB / 1.38 GB, free: 10 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.5163, allocations: 0 / 1.38 GB, free: 10 MB / 0.8855 GB Notification: Performance of Templates: time 0.002393/0.5187, allocations: 411.8 kB / 1.381 GB, free: 9.602 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches