Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 183.8 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008415/0.0008418, allocations: 96.06 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003762, allocations: 8.75 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2627, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.4469, allocations: 131.4 MB / 1.028 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4471, allocations: 71.95 kB / 1.028 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00275/0.4499, allocations: 1.165 MB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4499, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.4499, allocations: 224 / 1.03 GB, free: 11.14 MB / 0.6823 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.0003925/0.4504, allocations: 382.9 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4504, allocations: 11.97 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.4505, allocations: 15.91 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.4506, allocations: 174.9 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.4507, allocations: 8 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.4507, allocations: 4 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.4509, allocations: 99.31 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.4509, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4509, allocations: 4 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4509, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.451, allocations: 43.92 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.4517, allocations: 456.5 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/0.4518, allocations: 45.19 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.4518, allocations: 3.984 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.4519, allocations: 38.67 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.4519, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002/0.4521, allocations: 53.55 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.4522, allocations: 85.36 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.4524, allocations: 157.3 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.4524, allocations: 25.7 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.4525, allocations: 107.9 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-06/0.4525, allocations: 7.844 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.4525, allocations: 0 / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4527, allocations: 322.8 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.4527, allocations: 8 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.4527, allocations: 21.72 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.4528, allocations: 15.94 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4528, allocations: 0 / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/0.4529, allocations: 65.55 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4529, allocations: 4 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4529, allocations: 0 / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4529, allocations: 4 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.453, allocations: 12 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.453, allocations: 4 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.4531, allocations: 8.656 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4531, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 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.017e-05/0.4532, allocations: 117.8 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.4532, allocations: 15.77 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.4533, allocations: 12.56 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4533, allocations: 0 / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4533, allocations: 3.938 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4533, allocations: 0 / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.4537, allocations: 482.8 kB / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4537, allocations: 0 / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.4538, allocations: 8 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4538, allocations: 0 / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4538, allocations: 7.984 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4538, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4538, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.885e-05/0.4539, allocations: 95.58 kB / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.454, allocations: 89 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.454, allocations: 4 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.454, allocations: 0 / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.454, allocations: 0 / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.4541, allocations: 4.031 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001005/0.4542, allocations: 128.9 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4542, allocations: 0 / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001735/0.4543, allocations: 15.84 kB / 1.033 GB, free: 7.664 MB / 0.6823 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.0001426/0.4545, allocations: 99.23 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.488e-05/0.4546, allocations: 23.94 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4546, allocations: 0 / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.4546, allocations: 8.125 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.4548, allocations: 18.86 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.4551, allocations: 198 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.4555, allocations: 0.7004 MB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.4556, allocations: 8.422 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.4556, allocations: 11.44 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/0.4556, allocations: 0 / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of Templates: time 0.002545/0.4582, allocations: 453 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches