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") [: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 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.001039/0.001039, allocations: 181.2 kB / 316 MB, free: 3.547 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.491/1.491, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.000911/0.000911, allocations: 95.27 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.103e-05/1.105e-05, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6186/0.8229, allocations: 131.6 MB / 1.013 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.8231, allocations: 66.72 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002608/0.8258, allocations: 0.8477 MB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.8258, allocations: 0 / 1.014 GB, free: 6.594 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.0003173/0.8261, allocations: 367.6 kB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.8262, allocations: 8.031 kB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.8262, allocations: 15.16 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.8264, allocations: 178.9 kB / 1.015 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.8264, allocations: 4 kB / 1.015 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.8264, allocations: 4 kB / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001072/0.8266, allocations: 38.64 kB / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.8267, allocations: 82.84 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.8267, allocations: 3.984 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.8267, allocations: 2.312 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.8267, allocations: 8 kB / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.8273, allocations: 412.7 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.8273, allocations: 40.28 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.8273, allocations: 13.84 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.8274, allocations: 2.75 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.8274, allocations: 42.28 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.435e-06/0.8274, allocations: 8 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001676/0.8276, allocations: 41.2 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.8276, allocations: 81.02 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.8277, allocations: 119.1 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.8278, allocations: 29.7 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.8278, allocations: 106.6 kB / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.533e-06/0.8278, allocations: 3.906 kB / 1.016 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.8278, allocations: 0 / 1.016 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8279, allocations: 325.6 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.828, allocations: 6.812 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.828, allocations: 17.03 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.828, allocations: 10 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.828, allocations: 3.906 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.13e-05/0.8281, allocations: 57 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.8281, allocations: 10.34 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8282, allocations: 4.062 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.8282, allocations: 3.906 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.8283, allocations: 4 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.8283, allocations: 4 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.8283, allocations: 3.938 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.8283, allocations: 0 / 1.016 GB, free: 4.449 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 0.0001121/0.8284, allocations: 118.3 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.8285, allocations: 3.906 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.8285, allocations: 14.55 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.8285, allocations: 4 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8286, allocations: 3.906 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8286, allocations: 4 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.8289, allocations: 444.1 kB / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.829, allocations: 0 / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.829, allocations: 8.688 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.829, allocations: 0 / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.829, allocations: 4.062 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.829, allocations: 0 / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.829, allocations: 0 / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.655e-05/0.8291, allocations: 89.11 kB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.8292, allocations: 96.31 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.8292, allocations: 0 / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.8293, allocations: 8.031 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.8293, allocations: 3.906 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.8293, allocations: 0 / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001299/0.8294, allocations: 104.5 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001771/0.8296, allocations: 8 kB / 1.017 GB, free: 3.496 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.0001296/0.8297, allocations: 99.19 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.8298, allocations: 15.69 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8298, allocations: 4.125 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.8299, allocations: 6.812 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.83, allocations: 7.906 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.8303, allocations: 110.4 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.8306, allocations: 0.7076 MB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.8306, allocations: 4 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of Templates: time 0.002137/0.8327, allocations: 377.2 kB / 1.018 GB, free: 2.137 MB / 0.6355 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