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.432/1.432, allocations: 249.3 MB / 261.8 MB, free: 5.891 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.001021/0.001021, allocations: 186 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001028/0.001028, allocations: 94.52 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.268e-05/4.27e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2499, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7282/0.9781, allocations: 131.3 MB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.9784, allocations: 70.7 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002701/0.9812, allocations: 1.162 MB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.158e-06/0.9812, allocations: 0 / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.9812, allocations: 3.938 kB / 1.021 GB, free: 2.312 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.0003257/0.9815, allocations: 364.8 kB / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.9816, allocations: 12.03 kB / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.9816, allocations: 7.906 kB / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.9818, allocations: 182.9 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.9818, allocations: 7.188 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.9819, allocations: 11.81 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.982, allocations: 90.22 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.9821, allocations: 0 / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.9821, allocations: 7.125 kB / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9821, allocations: 4 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.9822, allocations: 30.44 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.9828, allocations: 470.9 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.9828, allocations: 39.22 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.9829, allocations: 21.28 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.9829, allocations: 2.625 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.9829, allocations: 35.44 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.9829, allocations: 0 / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.00016/0.9831, allocations: 48.98 kB / 1.023 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.9831, allocations: 85.09 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.9833, allocations: 153 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.9833, allocations: 29.7 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.9834, allocations: 110.8 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.335e-06/0.9834, allocations: 3.906 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.9834, allocations: 7.688 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9835, allocations: 322.2 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.9836, allocations: 4 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.9836, allocations: 17.41 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.9836, allocations: 14.81 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.9836, allocations: 3.953 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.46e-05/0.9837, allocations: 68.78 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.9837, allocations: 4 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.9837, allocations: 0 / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.9838, allocations: 4 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.9838, allocations: 4 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.9839, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.9839, allocations: 7.938 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.9839, allocations: 0 / 1.023 GB, free: 84 kB / 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 6.644e-05/0.984, allocations: 109.1 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.984, allocations: 28.84 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.9841, allocations: 16.08 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.9841, allocations: 4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9841, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.9841, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.9845, allocations: 480 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9845, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.9845, allocations: 16 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9845, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.9845, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9846, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9846, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.858e-05/0.9847, allocations: 94.88 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.9847, allocations: 96.41 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.9847, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.263e-05/0.9848, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.9848, allocations: 7.938 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.9848, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.297e-05/0.9849, allocations: 125.1 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9849, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001587/0.9851, allocations: 8 kB / 1.024 GB, free: 15.05 MB / 0.6511 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.0001217/0.9852, allocations: 107.2 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.408e-05/0.9853, allocations: 18.94 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9853, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.9853, allocations: 11.92 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.9854, allocations: 7.5 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.9857, allocations: 105 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.9859, allocations: 0.7084 MB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.986, allocations: 4.438 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.986, allocations: 11.44 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.986, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.002278/0.9883, allocations: 467.2 kB / 1.026 GB, free: 13.6 MB / 0.6511 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