Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_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.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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001013, allocations: 172.9 kB / 316.3 MB, free: 3.309 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.55/1.55, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008065/0.0008065, allocations: 94.39 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.636e-05/1.639e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1846, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7565/0.9411, allocations: 131.6 MB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.9414, allocations: 64.84 kB / 1.014 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002836/0.9443, allocations: 1.152 MB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9443, allocations: 0 / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.9443, allocations: 0 / 1.015 GB, free: 5.09 MB / 0.6355 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.0003584/0.9447, allocations: 368.9 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.9447, allocations: 12.03 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.9448, allocations: 7.906 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.945, allocations: 186.8 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.945, allocations: 4 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.945, allocations: 4 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.9451, allocations: 36.61 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.9453, allocations: 80.28 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9453, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.9453, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.9453, allocations: 4 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.9458, allocations: 419.9 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.515e-05/0.9459, allocations: 40.22 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.946, allocations: 17.66 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.946, allocations: 2.625 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.946, allocations: 30.56 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.946, allocations: 0 / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.9462, allocations: 52.05 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.9462, allocations: 81.84 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.9464, allocations: 123 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.9464, allocations: 25.7 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.9465, allocations: 114.2 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.9465, allocations: 7.031 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.9465, allocations: 0 / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.9466, allocations: 322 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.9466, allocations: 11.3 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.9467, allocations: 23.25 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/0.9467, allocations: 6.875 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.9467, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.095e-05/0.9468, allocations: 63.89 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9468, allocations: 5.719 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9468, allocations: 8.047 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.9469, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.9469, allocations: 8 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.9469, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.947, allocations: 7.844 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.947, allocations: 0 / 1.017 GB, free: 2.941 MB / 0.6355 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 5.862e-05/0.9471, allocations: 105 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.9471, allocations: 8.172 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.9471, allocations: 14.91 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9471, allocations: 7.938 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9472, allocations: 4 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9472, allocations: 0 / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.9476, allocations: 455.2 kB / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9476, allocations: 0 / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.9476, allocations: 4 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9476, allocations: 0 / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.9476, allocations: 0 / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.9476, allocations: 8 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9476, allocations: 5.844 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.9478, allocations: 94.36 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.9478, allocations: 77.11 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.9478, allocations: 4 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.9479, allocations: 4.031 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.9479, allocations: 3.984 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.9479, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.948, allocations: 105.2 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.948, allocations: 0 / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000186/0.9482, allocations: 8 kB / 1.018 GB, free: 1.988 MB / 0.6355 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.0001168/0.9483, allocations: 99.25 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.9484, allocations: 19.36 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9484, allocations: 4.062 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.9484, allocations: 7.188 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.9485, allocations: 11.08 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.9488, allocations: 96.55 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.9491, allocations: 0.7119 MB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.9492, allocations: 4.125 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.9492, allocations: 15.38 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.9492, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of Templates: time 0.002189/0.9514, allocations: 324.5 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches