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.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.0009652/0.0009652, allocations: 180.9 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.591/1.591, 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.0008722/0.0008722, allocations: 98.39 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.965e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2202, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.728/0.9483, allocations: 131.3 MB / 1.02 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.9485, allocations: 69.02 kB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002621/0.9511, allocations: 1.165 MB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9512, allocations: 0 / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.9512, allocations: 8 kB / 1.021 GB, free: 2.355 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.0003125/0.9515, allocations: 359.1 kB / 1.022 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9515, allocations: 8.031 kB / 1.022 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.9516, allocations: 11.91 kB / 1.022 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.9518, allocations: 182.6 kB / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.9518, allocations: 4 kB / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.9518, allocations: 7 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.952, allocations: 95.94 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.952, allocations: 0 / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.952, allocations: 6.938 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.952, allocations: 0 / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.9521, allocations: 44.73 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.9527, allocations: 461 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.526e-05/0.9528, allocations: 42.97 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.9528, allocations: 17.59 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.9528, allocations: 4 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.9528, allocations: 37.3 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9528, allocations: 0 / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001567/0.953, allocations: 56.09 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.9531, allocations: 77.11 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.9532, allocations: 153.5 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.9532, allocations: 29.77 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.9533, allocations: 113.5 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-06/0.9533, allocations: 7.906 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.9533, allocations: 0 / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.9534, allocations: 318.2 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.9535, allocations: 11.38 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.9535, allocations: 16.84 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.9535, allocations: 14.73 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9535, allocations: 7.953 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.232e-05/0.9536, allocations: 61.73 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.9536, allocations: 4 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.9537, allocations: 0 / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.9537, allocations: 0 / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.9537, allocations: 11.98 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9538, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.9538, allocations: 3.938 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.9538, allocations: 15.98 kB / 1.023 GB, free: 116 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 5.287e-05/0.9539, allocations: 104.4 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.9539, allocations: 15.81 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.954, allocations: 16.61 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.954, allocations: 96 / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.954, allocations: 3.938 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.954, allocations: 11.92 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.9544, allocations: 474.8 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9544, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.9544, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.9544, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.9544, allocations: 4.859 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9544, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9544, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.521e-05/0.9545, allocations: 100.9 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.9546, allocations: 89 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.9546, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.9547, allocations: 11.38 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.9547, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.9547, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.308e-05/0.9548, allocations: 121.1 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9548, allocations: 4.031 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001664/0.955, allocations: 11.44 kB / 1.024 GB, free: 15.09 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.0001243/0.9551, allocations: 103.2 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.133e-05/0.9552, allocations: 18.75 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9552, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.9552, allocations: 11.44 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.9553, allocations: 3.438 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.9556, allocations: 113.7 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.9558, allocations: 0.7004 MB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.9559, allocations: 4.438 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.9559, allocations: 19.36 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of SimCode: time 4.11e-07/0.9559, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of Templates: time 0.002303/0.9582, allocations: 446.5 kB / 1.026 GB, free: 13.65 MB / 0.6511 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