Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.711/1.711, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0008635/0.0008635, allocations: 185.2 kB / 490.8 MB, free: 1.977 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.051/1.051, allocations: 221.3 MB / 0.7863 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008171/0.0008172, allocations: 95.58 kB / 0.9264 GB, free: 14.33 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.001e-06, allocations: 4 kB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1653, allocations: 143 MB / 1.212 GB, free: 21.94 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4414/0.6067, allocations: 149.1 MB / 1.357 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001586/0.6069, allocations: 61.66 kB / 1.357 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001987/0.6089, allocations: 0.771 MB / 1.358 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.6089, allocations: 4 kB / 1.358 GB, free: 3.242 MB / 0.8073 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.0002325/0.6092, allocations: 354.1 kB / 1.358 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.6092, allocations: 8.031 kB / 1.358 GB, free: 2.848 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.6093, allocations: 11.91 kB / 1.358 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.6094, allocations: 182.8 kB / 1.359 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.6094, allocations: 0 / 1.359 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.6094, allocations: 4 kB / 1.359 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.068e-05/0.6095, allocations: 32.61 kB / 1.359 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.686e-05/0.6096, allocations: 85.28 kB / 1.359 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6096, allocations: 0 / 1.359 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.6096, allocations: 4.047 kB / 1.359 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6096, allocations: 0 / 1.359 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.61, allocations: 413.8 kB / 1.359 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.752e-05/0.6101, allocations: 37.16 kB / 1.359 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.6101, allocations: 17.66 kB / 1.359 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.78e-06/0.6101, allocations: 4 kB / 1.359 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.6101, allocations: 35.84 kB / 1.359 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6101, allocations: 0 / 1.359 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001247/0.6103, allocations: 49.16 kB / 1.359 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.6103, allocations: 77.11 kB / 1.359 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.6104, allocations: 116.5 kB / 1.359 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.6104, allocations: 25.7 kB / 1.359 GB, free: 1.688 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.6104, allocations: 107.8 kB / 1.359 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-06/0.6104, allocations: 7.531 kB / 1.359 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.6104, allocations: 0 / 1.359 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.996e-05/0.6105, allocations: 322.8 kB / 1.36 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.6105, allocations: 3.625 kB / 1.36 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.6106, allocations: 24.77 kB / 1.36 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.707e-05/0.6106, allocations: 7.375 kB / 1.36 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6106, allocations: 0 / 1.36 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.536e-05/0.6107, allocations: 49.36 kB / 1.36 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.6107, allocations: 11.86 kB / 1.36 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.6107, allocations: 4.062 kB / 1.36 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.6107, allocations: 96 / 1.36 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.6107, allocations: 11.94 kB / 1.36 GB, free: 1.145 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.6108, allocations: 0 / 1.36 GB, free: 1.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.6108, allocations: 7.922 kB / 1.36 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.6108, allocations: 4 kB / 1.36 GB, free: 1.133 MB / 0.8073 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 4.984e-05/0.6108, allocations: 104.9 kB / 1.36 GB, free: 1.023 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.6109, allocations: 11.84 kB / 1.36 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.6109, allocations: 10.89 kB / 1.36 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.6109, allocations: 4 kB / 1.36 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6109, allocations: 0 / 1.36 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6109, allocations: 4.938 kB / 1.36 GB, free: 1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.6112, allocations: 437.4 kB / 1.36 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6112, allocations: 0 / 1.36 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.851e-05/0.6112, allocations: 4 kB / 1.36 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6112, allocations: 3.938 kB / 1.36 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.6112, allocations: 4.062 kB / 1.36 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6112, allocations: 0.9375 kB / 1.36 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6113, allocations: 4 kB / 1.36 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.127e-05/0.6113, allocations: 86.8 kB / 1.361 GB, free: 424 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.6114, allocations: 89 kB / 1.361 GB, free: 316 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.6114, allocations: 0 / 1.361 GB, free: 316 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.643e-05/0.6114, allocations: 4.031 kB / 1.361 GB, free: 312 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-06/0.6114, allocations: 7.906 kB / 1.361 GB, free: 304 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.6114, allocations: 4.562 kB / 1.361 GB, free: 304 kB / 0.8073 GB Notification: Performance of sort global known variables: time 4.268e-05/0.6115, allocations: 97.03 kB / 1.361 GB, free: 212 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001577/0.6116, allocations: 8 kB / 1.361 GB, free: 204 kB / 0.8073 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 8.056e-05/0.6117, allocations: 99.23 kB / 1.361 GB, free: 96 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.842e-05/0.6118, allocations: 19.81 kB / 1.361 GB, free: 84 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.6118, allocations: 4.125 kB / 1.361 GB, free: 80 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.6118, allocations: 7.938 kB / 1.361 GB, free: 72 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.287e-05/0.6119, allocations: 7 kB / 1.361 GB, free: 68 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001833/0.6121, allocations: 98.78 kB / 1.361 GB, free: 15.95 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.6123, allocations: 0.7075 MB / 1.362 GB, free: 15.21 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.6123, allocations: 4.125 kB / 1.362 GB, free: 15.21 MB / 0.823 GB Notification: Performance of Templates: time 0.001579/0.6138, allocations: 334.5 kB / 1.362 GB, free: 14.89 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches