Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.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.Fluid.FixedResistances.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res1.m_flow|res2.m_flow",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.982/1.982, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001132/0.001132, allocations: 193.2 kB / 490.8 MB, free: 1.918 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.342/1.342, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.0009493/0.0009495, allocations: 92.67 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.493e-06/6.523e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2759, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.287, allocations: 391.2 MB / 1.594 GB, free: 7.824 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.287, allocations: 85.45 kB / 1.594 GB, free: 7.781 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.064/2.351, allocations: 221.6 MB / 1.81 GB, free: 301.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.98e-05/2.351, allocations: 7.781 kB / 1.81 GB, free: 301.7 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001614/2.353, allocations: 0.6637 MB / 1.811 GB, free: 301.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/2.353, allocations: 11.44 kB / 1.811 GB, free: 301.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/2.353, allocations: 46.88 kB / 1.811 GB, free: 301.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/2.354, allocations: 394.6 kB / 1.811 GB, free: 301 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/2.354, allocations: 44.39 kB / 1.811 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/2.354, allocations: 19.88 kB / 1.811 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003244/2.355, allocations: 110.9 kB / 1.811 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/2.355, allocations: 171.2 kB / 1.811 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/2.355, allocations: 0 / 1.811 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/2.355, allocations: 0 / 1.811 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/2.355, allocations: 3.875 kB / 1.811 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/2.357, allocations: 1.037 MB / 1.813 GB, free: 300.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/2.357, allocations: 89.91 kB / 1.813 GB, free: 300.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.032e-05/2.357, allocations: 52.62 kB / 1.813 GB, free: 300.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/2.357, allocations: 341.1 kB / 1.813 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/2.357, allocations: 34.25 kB / 1.813 GB, free: 299.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 2.515e-06/2.357, allocations: 0 / 1.813 GB, free: 299.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004793/2.358, allocations: 128 kB / 1.813 GB, free: 299.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/2.358, allocations: 51.41 kB / 1.813 GB, free: 299.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/2.358, allocations: 241 kB / 1.813 GB, free: 299.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/2.358, allocations: 29.58 kB / 1.813 GB, free: 299.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/2.358, allocations: 165.8 kB / 1.814 GB, free: 299.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/2.358, allocations: 34.02 kB / 1.814 GB, free: 299.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-06/2.358, allocations: 0 / 1.814 GB, free: 299.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001017/2.359, allocations: 338.2 kB / 1.814 GB, free: 299.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/2.359, allocations: 25.98 kB / 1.814 GB, free: 299.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.581e-05/2.359, allocations: 96.06 kB / 1.814 GB, free: 299 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/2.359, allocations: 45.64 kB / 1.814 GB, free: 299 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/2.359, allocations: 7.188 kB / 1.814 GB, free: 299 MB / 1.151 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002919/2.359, allocations: 131.6 kB / 1.814 GB, free: 299 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/2.359, allocations: 274.1 kB / 1.814 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/2.359, allocations: 0 / 1.814 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/2.359, allocations: 7.547 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/2.359, allocations: 30.48 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/2.359, allocations: 4.156 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/2.36, allocations: 32.94 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/2.36, allocations: 7.875 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/2.36, allocations: 7.312 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002157/2.36, allocations: 81.81 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/2.36, allocations: 0 / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/2.36, allocations: 3.781 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/2.36, allocations: 29.59 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/2.36, allocations: 0 / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/2.36, allocations: 35.16 kB / 1.815 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/2.36, allocations: 11.22 kB / 1.815 GB, free: 298.7 MB / 1.151 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 9.181e-05/2.361, allocations: 118.2 kB / 1.815 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/2.361, allocations: 26.86 kB / 1.815 GB, free: 298.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/2.361, allocations: 179.1 kB / 1.815 GB, free: 298.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/2.361, allocations: 0 / 1.815 GB, free: 298.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.361, allocations: 3.406 kB / 1.815 GB, free: 298.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/2.361, allocations: 3.938 kB / 1.815 GB, free: 298.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/2.362, allocations: 0.5444 MB / 1.816 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/2.362, allocations: 3.969 kB / 1.816 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/2.362, allocations: 26.7 kB / 1.816 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/2.362, allocations: 0 / 1.816 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/2.362, allocations: 3.969 kB / 1.816 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/2.362, allocations: 0 / 1.816 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/2.362, allocations: 0 / 1.816 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003706/2.362, allocations: 302.3 kB / 1.816 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/2.363, allocations: 131.8 kB / 1.816 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/2.363, allocations: 0 / 1.816 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/2.363, allocations: 42.61 kB / 1.816 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/2.363, allocations: 6.875 kB / 1.816 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/2.363, allocations: 10.83 kB / 1.816 GB, free: 297.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001731/2.363, allocations: 188.5 kB / 1.816 GB, free: 297.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007733/2.364, allocations: 205.8 kB / 1.816 GB, free: 297.7 MB / 1.151 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.0008242/2.365, allocations: 345.5 kB / 1.817 GB, free: 297.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002985/2.365, allocations: 141.7 kB / 1.817 GB, free: 297.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.365, allocations: 0 / 1.817 GB, free: 297.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.67e-05/2.365, allocations: 64.23 kB / 1.817 GB, free: 297.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/2.366, allocations: 124.2 kB / 1.817 GB, free: 297.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/2.367, allocations: 371.6 kB / 1.817 GB, free: 297.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/2.367, allocations: 0.8293 MB / 1.818 GB, free: 296.7 MB / 1.151 GB Notification: Performance of SimCode: time 4e-07/2.367, allocations: 0 / 1.818 GB, free: 296.7 MB / 1.151 GB Notification: Performance of Templates: time 0.01458/2.382, allocations: 6.671 MB / 1.825 GB, free: 296.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsParallel.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches