Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.02/2.02, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001478/0.001478, allocations: 179.9 kB / 487 MB, free: 5.359 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.472/1.472, allocations: 221.3 MB / 0.7819 GB, free: 1.469 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.00126/0.00126, allocations: 97.48 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.632e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3005, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.521/4.821, allocations: 1.95 GB / 3.155 GB, free: 372.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/4.822, allocations: 83.95 kB / 3.155 GB, free: 372.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 11.05/15.87, allocations: 3.171 GB / 6.326 GB, free: 119.4 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001133/15.87, allocations: 125 kB / 6.326 GB, free: 119.4 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 711 * Number of variables: 711 Notification: Performance of Generate backend data structure: time 0.01957/15.89, allocations: 4.708 MB / 6.331 GB, free: 117.8 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/15.89, allocations: 6.969 kB / 6.331 GB, free: 117.8 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/15.91, allocations: 1.781 MB / 6.332 GB, free: 117.5 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/15.93, allocations: 4.718 MB / 6.337 GB, free: 116.9 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/15.93, allocations: 91.97 kB / 6.337 GB, free: 116.9 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/15.93, allocations: 188.5 kB / 6.337 GB, free: 116.9 MB / 1.26 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00824/15.94, allocations: 2.588 MB / 6.34 GB, free: 116.9 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/15.95, allocations: 2.933 MB / 6.343 GB, free: 116.5 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/15.95, allocations: 10.22 kB / 6.343 GB, free: 116.5 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/15.95, allocations: 2.875 kB / 6.343 GB, free: 116.5 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/15.95, allocations: 104.3 kB / 6.343 GB, free: 116.5 MB / 1.26 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03466/15.98, allocations: 15.6 MB / 6.358 GB, free: 109.5 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/15.99, allocations: 1.297 MB / 6.359 GB, free: 109.5 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/15.99, allocations: 1.098 MB / 6.36 GB, free: 109.4 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005866/15.99, allocations: 403.7 kB / 6.361 GB, free: 109.1 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/15.99, allocations: 65.42 kB / 6.361 GB, free: 109 MB / 1.26 GB Notification: Performance of pre-optimization done (n=193): time 4.98e-06/15.99, allocations: 0 / 6.361 GB, free: 109 MB / 1.26 GB Notification: Performance of matching and sorting (n=201): time 0.02133/16.01, allocations: 5.674 MB / 6.366 GB, free: 107.8 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/16.01, allocations: 77.45 kB / 6.366 GB, free: 107.7 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008659/16.02, allocations: 2.8 MB / 6.369 GB, free: 107.4 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.000938/16.02, allocations: 34.83 kB / 6.369 GB, free: 107.4 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/16.02, allocations: 1.174 MB / 6.37 GB, free: 106.8 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/16.02, allocations: 0.6686 MB / 6.371 GB, free: 106.4 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004404/16.02, allocations: 0 / 6.371 GB, free: 106.4 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0002593/16.02, allocations: 392.8 kB / 6.371 GB, free: 106.1 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/16.03, allocations: 0.8319 MB / 6.372 GB, free: 106.1 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/16.03, allocations: 1.736 MB / 6.374 GB, free: 105 MB / 1.26 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.03118/16.06, allocations: 7.842 MB / 6.382 GB, free: 104.5 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.882e-05/16.06, allocations: 2.25 kB / 6.382 GB, free: 104.5 MB / 1.26 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.009286/16.07, allocations: 3.029 MB / 6.384 GB, free: 104.2 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001937/16.07, allocations: 7.692 MB / 6.392 GB, free: 96.36 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.708e-05/16.07, allocations: 14.91 kB / 6.392 GB, free: 96.36 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007964/16.07, allocations: 262.1 kB / 6.392 GB, free: 96.32 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/16.07, allocations: 0.545 MB / 6.393 GB, free: 96.32 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/16.08, allocations: 4.592 MB / 6.397 GB, free: 92.37 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006597/16.09, allocations: 340.8 kB / 6.398 GB, free: 92.34 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008463/16.09, allocations: 129.6 kB / 6.398 GB, free: 92.34 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/16.09, allocations: 3.156 kB / 6.398 GB, free: 92.34 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007268/16.09, allocations: 2.436 MB / 6.4 GB, free: 92.25 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-05/16.09, allocations: 18.12 kB / 6.4 GB, free: 92.25 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/16.09, allocations: 286 kB / 6.4 GB, free: 92.21 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/16.1, allocations: 0.5261 MB / 6.401 GB, free: 92.21 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/16.1, allocations: 7.536 MB / 6.408 GB, free: 85.91 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006783/16.11, allocations: 327.8 kB / 6.409 GB, free: 85.88 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/16.11, allocations: 121.6 kB / 6.409 GB, free: 85.88 MB / 1.26 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.001759/16.11, allocations: 188.8 kB / 6.409 GB, free: 85.76 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002101/16.12, allocations: 395.5 kB / 6.409 GB, free: 85.56 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008682/16.12, allocations: 2.699 MB / 6.412 GB, free: 85.38 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/16.12, allocations: 22.38 kB / 6.412 GB, free: 85.38 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/16.12, allocations: 3.5 kB / 6.412 GB, free: 85.38 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004287/16.13, allocations: 2.183 MB / 6.414 GB, free: 85.04 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/16.15, allocations: 6.158 MB / 6.42 GB, free: 84.25 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/16.15, allocations: 8.906 kB / 6.42 GB, free: 84.25 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002305/16.15, allocations: 458.1 kB / 6.42 GB, free: 84.25 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006148/16.15, allocations: 233.5 kB / 6.421 GB, free: 84.21 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/16.15, allocations: 37.5 kB / 6.421 GB, free: 84.21 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/16.15, allocations: 4.525 MB / 6.425 GB, free: 80.26 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/16.15, allocations: 15.12 kB / 6.425 GB, free: 80.26 MB / 1.26 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007032/16.16, allocations: 4.953 MB / 6.43 GB, free: 78.05 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003017/16.16, allocations: 0.7288 MB / 6.431 GB, free: 77.75 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001712/16.16, allocations: 16.34 kB / 6.431 GB, free: 77.75 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004955/16.17, allocations: 259.8 kB / 6.431 GB, free: 77.73 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/16.17, allocations: 143.9 kB / 6.431 GB, free: 77.72 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002941/16.17, allocations: 96.8 kB / 6.431 GB, free: 77.72 MB / 1.26 GB Notification: Performance of sort global known variables: time 0.005687/16.17, allocations: 2.128 MB / 6.433 GB, free: 77.54 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01244/16.19, allocations: 2.239 MB / 6.435 GB, free: 77.5 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.medium.Xi[1],zone2.dynBal.U,zone1.dynBal.medium.Xi[1],zone1.dynBal.U,zone3.dynBal.medium.Xi[1],zone3.dynBal.U,zone4.dynBal.medium.Xi[1],zone4.dynBal.U) * 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.01195/16.2, allocations: 8.354 MB / 6.444 GB, free: 73.48 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.009991/16.21, allocations: 4.325 MB / 6.448 GB, free: 72.72 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/16.21, allocations: 3.625 kB / 6.448 GB, free: 72.72 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.002663/16.21, allocations: 1.289 MB / 6.449 GB, free: 72.51 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01199/16.22, allocations: 1.873 MB / 6.451 GB, free: 72.46 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/16.24, allocations: 6.254 MB / 6.457 GB, free: 70.79 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006185/16.25, allocations: 2.978 MB / 6.46 GB, free: 69.98 MB / 1.26 GB Notification: Performance of SimCode: time 2.304e-06/16.25, allocations: 0 / 6.46 GB, free: 69.98 MB / 1.26 GB Notification: Performance of Templates: time 0.2223/16.47, allocations: 121.3 MB / 6.578 GB, free: 62.91 MB / 1.26 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_dpSystem.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches