Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") [: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.996/1.996, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001026/0.001026, allocations: 181.3 kB / 490.8 MB, free: 1.969 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.446/1.446, allocations: 221.3 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.001014/0.001014, allocations: 91.16 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.336e-06/8.516e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2959, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.391/4.687, allocations: 1.873 GB / 3.084 GB, free: 433.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/4.687, allocations: 86.64 kB / 3.084 GB, free: 433.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.714/9.401, allocations: 1.431 GB / 4.515 GB, free: 182.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002179/9.401, allocations: 43.28 kB / 4.515 GB, free: 182.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.005064/9.406, allocations: 1.682 MB / 4.516 GB, free: 181.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/9.406, allocations: 17.86 kB / 4.516 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/9.408, allocations: 196.2 kB / 4.517 GB, free: 181.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/9.411, allocations: 0.9696 MB / 4.518 GB, free: 181 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/9.411, allocations: 90.86 kB / 4.518 GB, free: 181 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/9.411, allocations: 56 kB / 4.518 GB, free: 181 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009587/9.412, allocations: 412.7 kB / 4.518 GB, free: 181 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/9.413, allocations: 0.7844 MB / 4.519 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/9.413, allocations: 1.969 kB / 4.519 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/9.414, allocations: 7.703 kB / 4.519 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/9.414, allocations: 18.53 kB / 4.519 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/9.419, allocations: 4.873 MB / 4.524 GB, free: 177.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/9.419, allocations: 390.8 kB / 4.524 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/9.42, allocations: 256.3 kB / 4.524 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/9.42, allocations: 105.1 kB / 4.524 GB, free: 176.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/9.42, allocations: 57.34 kB / 4.524 GB, free: 176.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.745e-06/9.42, allocations: 3 kB / 4.524 GB, free: 176.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001433/9.421, allocations: 455.1 kB / 4.525 GB, free: 176.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/9.421, allocations: 395.9 kB / 4.525 GB, free: 176 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/9.422, allocations: 0.6457 MB / 4.526 GB, free: 175.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/9.422, allocations: 29.11 kB / 4.526 GB, free: 175.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/9.422, allocations: 378.5 kB / 4.526 GB, free: 175.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/9.422, allocations: 116.7 kB / 4.526 GB, free: 175.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/9.422, allocations: 2 kB / 4.526 GB, free: 175.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.273e-05/9.422, allocations: 316.4 kB / 4.527 GB, free: 175.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/9.423, allocations: 83.81 kB / 4.527 GB, free: 175.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/9.423, allocations: 350.9 kB / 4.527 GB, free: 175 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/9.423, allocations: 135.5 kB / 4.527 GB, free: 175 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/9.423, allocations: 0 / 4.527 GB, free: 175 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008125/9.424, allocations: 467.4 kB / 4.528 GB, free: 174.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002665/9.424, allocations: 1.315 MB / 4.529 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/9.424, allocations: 6.875 kB / 4.529 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/9.424, allocations: 65.11 kB / 4.529 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/9.425, allocations: 89.55 kB / 4.529 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/9.426, allocations: 2.339 MB / 4.531 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/9.427, allocations: 65.59 kB / 4.531 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/9.427, allocations: 24.08 kB / 4.531 GB, free: 171.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/9.427, allocations: 3.219 kB / 4.531 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005231/9.427, allocations: 285.1 kB / 4.532 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/9.427, allocations: 6.625 kB / 4.532 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/9.428, allocations: 67.33 kB / 4.532 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/9.428, allocations: 72.95 kB / 4.532 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/9.43, allocations: 2.769 MB / 4.535 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/9.431, allocations: 59.28 kB / 4.535 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/9.431, allocations: 27.67 kB / 4.535 GB, free: 168.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001997/9.431, allocations: 122.8 kB / 4.535 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/9.431, allocations: 106.5 kB / 4.535 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/9.432, allocations: 334.4 kB / 4.535 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/9.432, allocations: 11.53 kB / 4.535 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/9.432, allocations: 3.781 kB / 4.535 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/9.432, allocations: 6 kB / 4.535 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/9.435, allocations: 2.387 MB / 4.538 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/9.435, allocations: 2.969 kB / 4.538 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/9.435, allocations: 79.77 kB / 4.538 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/9.435, allocations: 61.05 kB / 4.538 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/9.435, allocations: 10.03 kB / 4.538 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008779/9.436, allocations: 2.313 MB / 4.54 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/9.436, allocations: 10.44 kB / 4.54 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008/9.437, allocations: 0.9415 MB / 4.541 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/9.437, allocations: 223.4 kB / 4.541 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/9.437, allocations: 7.844 kB / 4.541 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/9.438, allocations: 60.11 kB / 4.541 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/9.438, allocations: 29.94 kB / 4.541 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/9.438, allocations: 24.91 kB / 4.541 GB, free: 163.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0005566/9.439, allocations: 0.5001 MB / 4.542 GB, free: 163.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002481/9.441, allocations: 0.744 MB / 4.542 GB, free: 163.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005117/9.446, allocations: 3.923 MB / 4.546 GB, free: 162.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001677/9.448, allocations: 0.6632 MB / 4.547 GB, free: 162 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/9.448, allocations: 3.688 kB / 4.547 GB, free: 162 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/9.448, allocations: 172.8 kB / 4.547 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/9.451, allocations: 408.5 kB / 4.547 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/9.453, allocations: 1.322 MB / 4.549 GB, free: 161.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006402/9.454, allocations: 1.219 MB / 4.55 GB, free: 160.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.753e-06/9.454, allocations: 0 / 4.55 GB, free: 160.7 MB / 1.167 GB Notification: Performance of Templates: time 0.05314/9.507, allocations: 35.57 MB / 4.585 GB, free: 159.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches