Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.3 MB / 405.3 MB, free: 13.39 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.001277/0.001277, allocations: 179.3 kB / 498.1 MB, free: 5.664 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.608/1.608, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.001016/0.001016, allocations: 100.3 kB / 0.9346 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003572, allocations: 14.09 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2982, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.4819, allocations: 148.8 MB / 1.368 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.4822, allocations: 67.95 kB / 1.368 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002481/0.4847, allocations: 1.092 MB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4847, allocations: 0 / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.4848, allocations: 4 kB / 1.369 GB, free: 11.96 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.0003583/0.4851, allocations: 369.8 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4852, allocations: 12.03 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.4852, allocations: 11.86 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4854, allocations: 178.8 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.4854, allocations: 12 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.4854, allocations: 7.938 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.4856, allocations: 92.62 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4856, allocations: 7.938 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4856, allocations: 0 / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4856, allocations: 0 / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.4857, allocations: 39.92 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.4863, allocations: 448.6 kB / 1.37 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.572e-05/0.4863, allocations: 49.23 kB / 1.37 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.4864, allocations: 0 / 1.37 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4864, allocations: 30.56 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4864, allocations: 0 / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001512/0.4865, allocations: 49.61 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.4866, allocations: 81.11 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4867, allocations: 155.3 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.4868, allocations: 25.7 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.4869, allocations: 104 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.595e-06/0.4869, allocations: 3.906 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.4869, allocations: 0 / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.487, allocations: 318.8 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.487, allocations: 12.2 kB / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.487, allocations: 25.64 kB / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.4871, allocations: 15.89 kB / 1.371 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4871, allocations: 0 / 1.371 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.832e-05/0.4872, allocations: 61.59 kB / 1.371 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4872, allocations: 4 kB / 1.371 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4872, allocations: 0 / 1.371 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4872, allocations: 4 kB / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.4873, allocations: 7.938 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.4873, allocations: 0 / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.4873, allocations: 7.906 kB / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4873, allocations: 8.062 kB / 1.371 GB, free: 9.629 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.848e-05/0.4874, allocations: 114.6 kB / 1.371 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.4875, allocations: 7.906 kB / 1.371 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.4875, allocations: 15.86 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4875, allocations: 0 / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4875, allocations: 0 / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.4875, allocations: 0 / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.4879, allocations: 482.7 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4879, allocations: 0 / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.4879, allocations: 4 kB / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.488, allocations: 3.984 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.488, allocations: 4 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.488, allocations: 3.938 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.488, allocations: 4 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.87e-05/0.4881, allocations: 95.58 kB / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.4882, allocations: 89 kB / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.4882, allocations: 0 / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.892e-05/0.4882, allocations: 0 / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.4882, allocations: 4 kB / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.4882, allocations: 0 / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.426e-05/0.4883, allocations: 125.1 kB / 1.372 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4883, allocations: 4.031 kB / 1.372 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001719/0.4885, allocations: 15.86 kB / 1.372 GB, free: 8.559 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.0001141/0.4886, allocations: 99.03 kB / 1.372 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.043e-05/0.4887, allocations: 23.92 kB / 1.372 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.4887, allocations: 0 / 1.372 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.4887, allocations: 8 kB / 1.372 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.54e-05/0.4888, allocations: 5.734 kB / 1.372 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.4892, allocations: 186.5 kB / 1.373 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.4894, allocations: 0.7009 MB / 1.373 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.4895, allocations: 8.422 kB / 1.373 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.4895, allocations: 11.44 kB / 1.373 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.4895, allocations: 0 / 1.373 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of Templates: time 0.002082/0.4916, allocations: 413.6 kB / 1.374 GB, free: 7.043 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches