Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [: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 9.1.1-maint.9.1.x/package.mo): time 2.06/2.06, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001173/0.001173, allocations: 185.2 kB / 487 MB, free: 5.41 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.43/1.43, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 92.69 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.473e-05/1.477e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2883, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.477/4.766, allocations: 1.867 GB / 3.072 GB, free: 437.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/4.766, allocations: 81.3 kB / 3.072 GB, free: 437.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.4084/5.174, allocations: 221.6 MB / 3.289 GB, free: 236.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.369e-05/5.174, allocations: 12 kB / 3.289 GB, free: 236.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008209/5.175, allocations: 0.5562 MB / 3.289 GB, free: 235.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/5.175, allocations: 11.97 kB / 3.289 GB, free: 235.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/5.176, allocations: 67.52 kB / 3.289 GB, free: 235.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/5.176, allocations: 309.4 kB / 3.29 GB, free: 235.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/5.176, allocations: 8 kB / 3.29 GB, free: 235.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/5.176, allocations: 8 kB / 3.29 GB, free: 235.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001648/5.176, allocations: 91.97 kB / 3.29 GB, free: 235.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/5.176, allocations: 161 kB / 3.29 GB, free: 235.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/5.176, allocations: 0 / 3.29 GB, free: 235.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/5.176, allocations: 0 / 3.29 GB, free: 235.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/5.176, allocations: 7.906 kB / 3.29 GB, free: 235.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/5.177, allocations: 0.7503 MB / 3.291 GB, free: 234.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/5.177, allocations: 66.56 kB / 3.291 GB, free: 234.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/5.178, allocations: 64.83 kB / 3.291 GB, free: 234.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/5.178, allocations: 182.2 kB / 3.291 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/5.178, allocations: 34.56 kB / 3.291 GB, free: 233.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/5.178, allocations: 3.984 kB / 3.291 GB, free: 233.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004407/5.178, allocations: 149.5 kB / 3.291 GB, free: 233.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/5.178, allocations: 55.41 kB / 3.291 GB, free: 233.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/5.178, allocations: 180.3 kB / 3.291 GB, free: 233.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/5.178, allocations: 33.69 kB / 3.291 GB, free: 233.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/5.179, allocations: 128.1 kB / 3.292 GB, free: 233.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/5.179, allocations: 23.56 kB / 3.292 GB, free: 233.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/5.179, allocations: 0 / 3.292 GB, free: 233.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/5.179, allocations: 334.8 kB / 3.292 GB, free: 233 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.44e-05/5.179, allocations: 31.98 kB / 3.292 GB, free: 233 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/5.179, allocations: 78.86 kB / 3.292 GB, free: 232.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.593e-05/5.179, allocations: 43.91 kB / 3.292 GB, free: 232.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/5.179, allocations: 4.188 kB / 3.292 GB, free: 232.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001636/5.179, allocations: 121.4 kB / 3.292 GB, free: 232.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/5.179, allocations: 359.9 kB / 3.293 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/5.179, allocations: 11.88 kB / 3.293 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/5.179, allocations: 4 kB / 3.293 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/5.179, allocations: 23.98 kB / 3.293 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/5.179, allocations: 7.922 kB / 3.293 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/5.179, allocations: 19.98 kB / 3.293 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/5.18, allocations: 15.91 kB / 3.293 GB, free: 232.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-06/5.18, allocations: 4 kB / 3.293 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001056/5.18, allocations: 63.89 kB / 3.293 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/5.18, allocations: 4 kB / 3.293 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-06/5.18, allocations: 0 / 3.293 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/5.18, allocations: 36.02 kB / 3.293 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-06/5.18, allocations: 0 / 3.293 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/5.18, allocations: 27.91 kB / 3.293 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/5.18, allocations: 4 kB / 3.293 GB, free: 232.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.637e-05/5.18, allocations: 112.8 kB / 3.293 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/5.18, allocations: 19.81 kB / 3.293 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/5.18, allocations: 123.2 kB / 3.293 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/5.18, allocations: 4.281 kB / 3.293 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/5.18, allocations: 0 / 3.293 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/5.18, allocations: 3.984 kB / 3.293 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/5.181, allocations: 0.5202 MB / 3.294 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/5.181, allocations: 0 / 3.294 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/5.181, allocations: 27.92 kB / 3.294 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/5.181, allocations: 4.219 kB / 3.294 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/5.181, allocations: 8 kB / 3.294 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/5.181, allocations: 0 / 3.294 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/5.181, allocations: 4 kB / 3.294 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001952/5.181, allocations: 341.1 kB / 3.294 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/5.181, allocations: 108.8 kB / 3.294 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/5.181, allocations: 4 kB / 3.294 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/5.182, allocations: 24.02 kB / 3.294 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/5.182, allocations: 19.92 kB / 3.294 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/5.182, allocations: 7.938 kB / 3.294 GB, free: 230.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.917e-05/5.182, allocations: 152.5 kB / 3.294 GB, free: 230.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006029/5.182, allocations: 155.8 kB / 3.294 GB, free: 230.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001255/5.184, allocations: 1.033 MB / 3.295 GB, free: 229.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002194/5.184, allocations: 125.1 kB / 3.295 GB, free: 229.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/5.184, allocations: 4.125 kB / 3.295 GB, free: 229.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.455e-05/5.184, allocations: 47.86 kB / 3.295 GB, free: 229.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/5.185, allocations: 97.5 kB / 3.296 GB, free: 229 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/5.185, allocations: 301.8 kB / 3.296 GB, free: 228.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/5.185, allocations: 0.779 MB / 3.297 GB, free: 227.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/5.185, allocations: 0 / 3.297 GB, free: 227.8 MB / 1.151 GB Notification: Performance of Templates: time 0.01317/5.199, allocations: 8.993 MB / 3.305 GB, free: 218.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches