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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 387.4 MB / 394.9 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.001396/0.001396, allocations: 176.7 kB / 487.4 MB, free: 5.059 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.604/1.604, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 100.6 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.142e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3103, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.363, allocations: 148.1 MB / 1.351 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/1.363, allocations: 64.86 kB / 1.351 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00394/1.367, allocations: 1.089 MB / 1.352 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.104e-06/1.367, allocations: 1.281 kB / 1.352 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.367, allocations: 1.281 kB / 1.352 GB, free: 34.05 MB / 0.8386 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.0004198/1.368, allocations: 353.3 kB / 1.352 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.394e-05/1.368, allocations: 10.3 kB / 1.352 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/1.368, allocations: 11.94 kB / 1.352 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/1.368, allocations: 178.5 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/1.368, allocations: 2.531 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/1.368, allocations: 7.75 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000133/1.368, allocations: 38.39 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/1.369, allocations: 77.39 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.369, allocations: 0 / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.369, allocations: 0 / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.369, allocations: 2.625 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/1.369, allocations: 414.4 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/1.369, allocations: 33.09 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/1.369, allocations: 23.06 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/1.369, allocations: 0 / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.37, allocations: 36.56 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/1.37, allocations: 1.312 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001717/1.37, allocations: 42.62 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/1.37, allocations: 82.48 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/1.37, allocations: 115.6 kB / 1.353 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/1.37, allocations: 28.52 kB / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/1.37, allocations: 108.2 kB / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.625e-06/1.37, allocations: 5.875 kB / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/1.37, allocations: 3.938 kB / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.37, allocations: 315.7 kB / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/1.37, allocations: 6.5 kB / 1.354 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/1.37, allocations: 27.31 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.431e-05/1.37, allocations: 7.203 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.37, allocations: 1.344 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.846e-05/1.37, allocations: 53.08 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.37, allocations: 5.312 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.37, allocations: 2.109 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.37, allocations: 1.312 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.693e-05/1.371, allocations: 9.844 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.371, allocations: 10.61 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/1.371, allocations: 4.453 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/1.371, allocations: 2.656 kB / 1.354 GB, free: 32.23 MB / 0.8386 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 () * 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.636e-05/1.371, allocations: 102.7 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/1.371, allocations: 11.83 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/1.371, allocations: 6.688 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.371, allocations: 1.344 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.371, allocations: 0 / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.371, allocations: 2.031 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/1.371, allocations: 452.1 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.371, allocations: 1.25 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/1.371, allocations: 5.828 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/1.371, allocations: 1.344 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/1.371, allocations: 224 / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/1.371, allocations: 1.312 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.371, allocations: 4.453 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.828e-05/1.371, allocations: 89.52 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/1.371, allocations: 80.27 kB / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/1.371, allocations: 2.047 kB / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/1.371, allocations: 1.281 kB / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/1.371, allocations: 9.906 kB / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/1.371, allocations: 9.328 kB / 1.354 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.774e-05/1.372, allocations: 100.2 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.372, allocations: 0 / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002332/1.372, allocations: 11.81 kB / 1.354 GB, free: 31.39 MB / 0.8386 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 () * 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/1.372, allocations: 99.77 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.524e-05/1.372, allocations: 10.94 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.372, allocations: 0 / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-06/1.372, allocations: 12.53 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/1.372, allocations: 15.05 kB / 1.355 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/1.372, allocations: 98.22 kB / 1.355 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/1.373, allocations: 0.6953 MB / 1.355 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.315e-05/1.373, allocations: 2.438 kB / 1.355 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/1.373, allocations: 15.44 kB / 1.355 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.373, allocations: 0 / 1.355 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of Templates: time 0.002177/1.375, allocations: 289.1 kB / 1.356 GB, free: 30.45 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches