Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.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.Fluid.FixedResistances.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res1.m_flow|res2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res1.m_flow|res2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel") [: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.187/1.187, allocations: 249.4 MB / 256.7 MB, free: 6.984 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.001055/0.001055, allocations: 185.2 kB / 316 MB, free: 3.57 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.062/1.062, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0008706/0.0008706, allocations: 93.81 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.463e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1514, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6102/0.7616, allocations: 372 MB / 1.248 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.7618, allocations: 89.25 kB / 1.248 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.6334/1.395, allocations: 210.9 MB / 1.454 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.065e-05/1.395, allocations: 8 kB / 1.454 GB, free: 146.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008792/1.396, allocations: 0.6655 MB / 1.455 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/1.396, allocations: 12.03 kB / 1.455 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/1.396, allocations: 47.44 kB / 1.455 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/1.397, allocations: 390.4 kB / 1.455 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-05/1.397, allocations: 42.12 kB / 1.455 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/1.397, allocations: 19.94 kB / 1.455 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000197/1.397, allocations: 108.9 kB / 1.455 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/1.398, allocations: 170.4 kB / 1.455 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.398, allocations: 0 / 1.455 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/1.398, allocations: 0 / 1.455 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/1.398, allocations: 8 kB / 1.455 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/1.399, allocations: 1.036 MB / 1.456 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/1.399, allocations: 86.64 kB / 1.456 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/1.399, allocations: 48.84 kB / 1.456 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/1.399, allocations: 340.4 kB / 1.457 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/1.399, allocations: 38.69 kB / 1.457 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/1.399, allocations: 0 / 1.457 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003256/1.399, allocations: 137.2 kB / 1.457 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/1.399, allocations: 51.41 kB / 1.457 GB, free: 143 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/1.4, allocations: 239.6 kB / 1.457 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/1.4, allocations: 29.7 kB / 1.457 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/1.4, allocations: 164 kB / 1.457 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/1.4, allocations: 35.45 kB / 1.457 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/1.4, allocations: 0 / 1.457 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/1.4, allocations: 334.8 kB / 1.458 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/1.4, allocations: 31.92 kB / 1.458 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/1.4, allocations: 91.72 kB / 1.458 GB, free: 142 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.4, allocations: 39.97 kB / 1.458 GB, free: 142 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/1.4, allocations: 0 / 1.458 GB, free: 142 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002368/1.4, allocations: 141.2 kB / 1.458 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/1.4, allocations: 271 kB / 1.458 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.4, allocations: 0 / 1.458 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.4, allocations: 3.984 kB / 1.458 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/1.401, allocations: 31.92 kB / 1.458 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.401, allocations: 3.906 kB / 1.458 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/1.401, allocations: 31.97 kB / 1.458 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/1.401, allocations: 11.98 kB / 1.458 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-06/1.401, allocations: 4 kB / 1.458 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001746/1.401, allocations: 83.33 kB / 1.458 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/1.401, allocations: 0 / 1.458 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/1.401, allocations: 4 kB / 1.458 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.401, allocations: 23.98 kB / 1.459 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-06/1.401, allocations: 0 / 1.459 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/1.401, allocations: 43.83 kB / 1.459 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/1.401, allocations: 8 kB / 1.459 GB, free: 141.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.497e-05/1.401, allocations: 104.9 kB / 1.459 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/1.402, allocations: 35.56 kB / 1.459 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/1.402, allocations: 182.1 kB / 1.459 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.402, allocations: 7.984 kB / 1.459 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.402, allocations: 0 / 1.459 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.402, allocations: 0 / 1.459 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/1.402, allocations: 0.5324 MB / 1.459 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.402, allocations: 8.094 kB / 1.459 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/1.403, allocations: 31.97 kB / 1.459 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.403, allocations: 4 kB / 1.459 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/1.403, allocations: 3.906 kB / 1.459 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.403, allocations: 4 kB / 1.459 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.403, allocations: 0 / 1.459 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002483/1.403, allocations: 303 kB / 1.46 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/1.403, allocations: 124.6 kB / 1.46 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/1.403, allocations: 0 / 1.46 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/1.403, allocations: 47.8 kB / 1.46 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/1.403, allocations: 19.98 kB / 1.46 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/1.403, allocations: 7.984 kB / 1.46 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000118/1.403, allocations: 191.1 kB / 1.46 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005783/1.404, allocations: 195.5 kB / 1.46 GB, free: 139.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005268/1.405, allocations: 337 kB / 1.461 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002164/1.405, allocations: 149.5 kB / 1.461 GB, free: 139 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.405, allocations: 4 kB / 1.461 GB, free: 139 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.935e-05/1.405, allocations: 55.91 kB / 1.461 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/1.406, allocations: 139.8 kB / 1.461 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/1.406, allocations: 363.1 kB / 1.461 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/1.406, allocations: 0.8265 MB / 1.462 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/1.406, allocations: 0 / 1.462 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.009927/1.416, allocations: 6.668 MB / 1.469 GB, free: 131 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_PressureDropsParallel.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches