Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [: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.295/2.295, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001631/0.001631, allocations: 185.2 kB / 487 MB, free: 5.352 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.581/1.581, 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.0009708/0.0009708, allocations: 95.17 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.557e-06/8.657e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3076, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8365/1.144, allocations: 152.3 MB / 1.354 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/1.144, allocations: 91.22 kB / 1.354 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.024/1.168, allocations: 7.775 MB / 1.362 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.497e-05/1.169, allocations: 4 kB / 1.362 GB, free: 14.76 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006586/1.169, allocations: 465.2 kB / 1.362 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.169, allocations: 8.031 kB / 1.362 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/1.169, allocations: 20.36 kB / 1.362 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/1.17, allocations: 249.7 kB / 1.362 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/1.17, allocations: 4 kB / 1.362 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/1.17, allocations: 8.734 kB / 1.362 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000309/1.17, allocations: 192 kB / 1.363 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/1.17, allocations: 115.3 kB / 1.363 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.17, allocations: 0 / 1.363 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/1.17, allocations: 0.5625 kB / 1.363 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.17, allocations: 0 / 1.363 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/1.171, allocations: 230.7 kB / 1.363 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/1.171, allocations: 158.7 kB / 1.363 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/1.171, allocations: 59.12 kB / 1.363 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/1.171, allocations: 0 / 1.363 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/1.171, allocations: 114.7 kB / 1.363 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/1.171, allocations: 0 / 1.363 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0003528/1.171, allocations: 178.5 kB / 1.363 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/1.172, allocations: 85.62 kB / 1.363 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/1.172, allocations: 215 kB / 1.364 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/1.172, allocations: 33.89 kB / 1.364 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/1.172, allocations: 91.58 kB / 1.364 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/1.172, allocations: 43.39 kB / 1.364 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/1.172, allocations: 0 / 1.364 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/1.172, allocations: 332.2 kB / 1.364 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/1.172, allocations: 64.95 kB / 1.364 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/1.172, allocations: 77.91 kB / 1.364 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/1.172, allocations: 62.44 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.172, allocations: 0.5625 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002695/1.173, allocations: 200.3 kB / 1.364 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.173, allocations: 4 kB / 1.364 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.173, allocations: 0 / 1.364 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.173, allocations: 4 kB / 1.364 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/1.173, allocations: 28.67 kB / 1.365 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.173, allocations: 4.062 kB / 1.365 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/1.173, allocations: 8.938 kB / 1.365 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/1.173, allocations: 5.078 kB / 1.365 GB, free: 12.18 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: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.922e-05/1.173, allocations: 109.4 kB / 1.365 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/1.173, allocations: 19.72 kB / 1.365 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/1.173, allocations: 251.1 kB / 1.365 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.173, allocations: 8 kB / 1.365 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/1.173, allocations: 0.7344 kB / 1.365 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.173, allocations: 1.125 kB / 1.365 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/1.174, allocations: 255.2 kB / 1.365 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.174, allocations: 0 / 1.365 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/1.174, allocations: 35.22 kB / 1.365 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.174, allocations: 11.84 kB / 1.365 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.174, allocations: 1.688 kB / 1.365 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.174, allocations: 4 kB / 1.365 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.174, allocations: 0.5156 kB / 1.365 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002964/1.174, allocations: 245.7 kB / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/1.174, allocations: 99.36 kB / 1.366 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/1.174, allocations: 7.906 kB / 1.366 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/1.174, allocations: 1.312 kB / 1.366 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/1.174, allocations: 19.92 kB / 1.366 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/1.174, allocations: 15.42 kB / 1.366 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001434/1.175, allocations: 182.6 kB / 1.366 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002873/1.175, allocations: 49.31 kB / 1.366 GB, free: 11.11 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007692/1.176, allocations: 356.3 kB / 1.366 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002565/1.176, allocations: 153.7 kB / 1.366 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.176, allocations: 0 / 1.366 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/1.176, allocations: 86.78 kB / 1.366 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/1.176, allocations: 33.78 kB / 1.366 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/1.177, allocations: 249.2 kB / 1.367 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/1.177, allocations: 0.7736 MB / 1.367 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/1.177, allocations: 0 / 1.367 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of Templates: time 0.005444/1.183, allocations: 2.726 MB / 1.37 GB, free: 7.012 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches