Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.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.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floConDp.dp_actual|floConDpSystem.dp_actual|floConDp.m_flow|floConDpSystem.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floConDp.dp_actual|floConDpSystem.dp_actual|floConDp.m_flow|floConDpSystem.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem") [: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.154/1.154, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009285/0.0009285, allocations: 185.6 kB / 316 MB, free: 7.176 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.206/1.206, allocations: 205.1 MB / 0.5667 GB, free: 23.59 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.0009043/0.0009043, allocations: 91.83 kB / 0.671 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.833e-06, allocations: 4 kB / 0.7807 GB, free: 360 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.336, allocations: 106.3 MB / 0.8845 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.444/3.78, allocations: 2.235 GB / 3.12 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/3.781, allocations: 87.94 kB / 3.12 GB, free: 286.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.167/11.95, allocations: 3.032 GB / 6.152 GB, free: 19.63 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003529/11.95, allocations: 119.9 kB / 6.152 GB, free: 19.51 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 719 * Number of variables: 719 Notification: Performance of Generate backend data structure: time 0.009168/11.96, allocations: 4.698 MB / 6.156 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/11.96, allocations: 12.03 kB / 6.157 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008982/11.97, allocations: 1.562 MB / 6.158 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009085/11.98, allocations: 4.6 MB / 6.163 GB, free: 8.488 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/11.98, allocations: 95.94 kB / 6.163 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/11.98, allocations: 192 kB / 6.163 GB, free: 8.207 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003775/11.98, allocations: 2.557 MB / 6.165 GB, free: 5.645 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/11.98, allocations: 2.927 MB / 6.168 GB, free: 2.59 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.069e-05/11.98, allocations: 11.84 kB / 6.168 GB, free: 2.578 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/11.98, allocations: 4 kB / 6.168 GB, free: 2.574 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.795e-05/11.98, allocations: 105.4 kB / 6.168 GB, free: 2.469 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02053/12, allocations: 15.06 MB / 6.183 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/12.01, allocations: 2.029 MB / 6.185 GB, free: 0.5664 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3569/12.36, allocations: 1.08 MB / 6.186 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004491/12.37, allocations: 394.6 kB / 6.186 GB, free: 130.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/12.37, allocations: 71.23 kB / 6.186 GB, free: 130.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=193): time 3.687e-06/12.37, allocations: 0 / 6.186 GB, free: 130.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=201): time 0.01295/12.38, allocations: 5.571 MB / 6.192 GB, free: 130 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/12.38, allocations: 79.03 kB / 6.192 GB, free: 130 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/12.38, allocations: 2.797 MB / 6.195 GB, free: 129.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/12.38, allocations: 29.67 kB / 6.195 GB, free: 129.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/12.38, allocations: 1.199 MB / 6.196 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/12.38, allocations: 0.663 MB / 6.197 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/12.38, allocations: 0 / 6.197 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001012/12.38, allocations: 395.1 kB / 6.197 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/12.38, allocations: 0.814 MB / 6.198 GB, free: 128.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/12.39, allocations: 1.754 MB / 6.199 GB, free: 127.4 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02445/12.41, allocations: 7.654 MB / 6.207 GB, free: 127 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/12.41, allocations: 3.875 kB / 6.207 GB, free: 127 MB / 0.9948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.0057/12.42, allocations: 2.974 MB / 6.21 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001039/12.42, allocations: 7.665 MB / 6.217 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/12.42, allocations: 25.75 kB / 6.217 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006434/12.42, allocations: 263 kB / 6.218 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/12.42, allocations: 0.5344 MB / 6.218 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/12.42, allocations: 4.562 MB / 6.223 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/12.43, allocations: 308.8 kB / 6.223 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/12.43, allocations: 120.7 kB / 6.223 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/12.43, allocations: 8.906 kB / 6.223 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003902/12.43, allocations: 2.381 MB / 6.225 GB, free: 114.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/12.43, allocations: 19.53 kB / 6.225 GB, free: 114.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/12.43, allocations: 283.7 kB / 6.226 GB, free: 114.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/12.43, allocations: 0.5253 MB / 6.226 GB, free: 114.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/12.44, allocations: 7.287 MB / 6.233 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/12.44, allocations: 301.9 kB / 6.234 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/12.44, allocations: 116.3 kB / 6.234 GB, free: 108.5 MB / 0.9948 GB Warning: Assuming redundant initial conditions for the following 4 initial equations: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005046/12.44, allocations: 184.4 kB / 6.234 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/12.44, allocations: 392.2 kB / 6.234 GB, free: 108.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/12.45, allocations: 2.653 MB / 6.237 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/12.45, allocations: 23.92 kB / 6.237 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/12.45, allocations: 3.906 kB / 6.237 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002976/12.45, allocations: 2.155 MB / 6.239 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00947/12.46, allocations: 6.104 MB / 6.245 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/12.46, allocations: 12.53 kB / 6.245 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/12.46, allocations: 452.7 kB / 6.245 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/12.46, allocations: 233.3 kB / 6.246 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/12.46, allocations: 43.08 kB / 6.246 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/12.47, allocations: 4.489 MB / 6.25 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/12.47, allocations: 16.09 kB / 6.25 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005577/12.47, allocations: 5.011 MB / 6.255 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/12.47, allocations: 0.7319 MB / 6.256 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005471/12.47, allocations: 24.91 kB / 6.256 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/12.48, allocations: 253.8 kB / 6.256 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/12.48, allocations: 142.7 kB / 6.256 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/12.48, allocations: 99.34 kB / 6.256 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002643/12.48, allocations: 2.114 MB / 6.258 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005691/12.49, allocations: 2.201 MB / 6.26 GB, free: 100.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.U,zone2.dynBal.mXi[1],zone1.dynBal.U,zone1.dynBal.mXi[1],zone3.dynBal.U,zone3.dynBal.mXi[1],zone4.dynBal.U,zone4.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 188 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008831/12.5, allocations: 8.327 MB / 6.268 GB, free: 96.27 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005774/12.5, allocations: 4.249 MB / 6.273 GB, free: 95.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/12.5, allocations: 3.875 kB / 6.273 GB, free: 95.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/12.5, allocations: 1.273 MB / 6.274 GB, free: 95.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007891/12.51, allocations: 1.882 MB / 6.276 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/12.52, allocations: 6.19 MB / 6.282 GB, free: 93.61 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/12.52, allocations: 2.97 MB / 6.285 GB, free: 92.81 MB / 0.9948 GB Notification: Performance of SimCode: time 1.683e-06/12.52, allocations: 0 / 6.285 GB, free: 92.81 MB / 0.9948 GB Notification: Performance of Templates: time 0.1584/12.68, allocations: 120.6 MB / 6.402 GB, free: 87.25 MB / 0.9948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_FlowControlled_dpSystem.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches