Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.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.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous") [: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.006/2.006, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001133, allocations: 193.2 kB / 487 MB, free: 5.371 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.379/1.379, allocations: 221.3 MB / 0.7819 GB, free: 1.441 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.001031/0.001031, allocations: 92.67 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.973e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2606, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.287, allocations: 440.6 MB / 1.635 GB, free: 15.35 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.287, allocations: 99.94 kB / 1.636 GB, free: 15.3 MB / 1.073 GB Notification: Performance of FrontEnd: time 8.371/9.659, allocations: 2.352 GB / 3.988 GB, free: 150.4 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0008379/9.659, allocations: 108.3 kB / 3.988 GB, free: 150.4 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01364/9.673, allocations: 3.87 MB / 3.992 GB, free: 148.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/9.673, allocations: 9.703 kB / 3.992 GB, free: 148.9 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/9.684, allocations: 1.64 MB / 3.993 GB, free: 148.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07736/9.761, allocations: 31.87 MB / 4.024 GB, free: 146.9 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/9.761, allocations: 66 kB / 4.025 GB, free: 146.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007223/9.762, allocations: 140 kB / 4.025 GB, free: 146.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003882/9.766, allocations: 2.216 MB / 4.027 GB, free: 146.9 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/9.77, allocations: 2.428 MB / 4.029 GB, free: 146.6 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/9.77, allocations: 7.719 kB / 4.029 GB, free: 146.6 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/9.77, allocations: 0 / 4.029 GB, free: 146.6 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/9.77, allocations: 49.06 kB / 4.029 GB, free: 146.6 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0223/9.792, allocations: 12.95 MB / 4.042 GB, free: 141.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/9.795, allocations: 2.117 MB / 4.044 GB, free: 141.9 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/9.796, allocations: 0.9424 MB / 4.045 GB, free: 141.9 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008625/9.805, allocations: 5.126 MB / 4.05 GB, free: 140 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/9.805, allocations: 41.28 kB / 4.05 GB, free: 139.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=88): time 4.048e-06/9.805, allocations: 0 / 4.05 GB, free: 139.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=88): time 0.007926/9.813, allocations: 2.804 MB / 4.053 GB, free: 139.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/9.813, allocations: 58.94 kB / 4.053 GB, free: 139.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0088/9.822, allocations: 4.671 MB / 4.057 GB, free: 139.2 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006816/9.822, allocations: 29.08 kB / 4.057 GB, free: 139.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008472/9.823, allocations: 1.131 MB / 4.058 GB, free: 138.7 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005185/9.824, allocations: 295.5 kB / 4.059 GB, free: 138.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/9.824, allocations: 3.844 kB / 4.059 GB, free: 138.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001185/9.824, allocations: 388.1 kB / 4.059 GB, free: 138.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/9.825, allocations: 1.064 MB / 4.06 GB, free: 138.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/9.827, allocations: 2.043 MB / 4.062 GB, free: 136.9 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00368/9.831, allocations: 1.507 MB / 4.064 GB, free: 136.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/9.831, allocations: 7.438 kB / 4.064 GB, free: 136.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.007894/9.839, allocations: 3.646 MB / 4.067 GB, free: 136.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002896/9.842, allocations: 12.96 MB / 4.08 GB, free: 122.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.866e-05/9.842, allocations: 32.78 kB / 4.08 GB, free: 122.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009371/9.843, allocations: 336.9 kB / 4.08 GB, free: 122.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003587/9.846, allocations: 0.5714 MB / 4.081 GB, free: 122.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/9.851, allocations: 6.134 MB / 4.087 GB, free: 118.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004561/9.856, allocations: 340.3 kB / 4.087 GB, free: 118.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000573/9.857, allocations: 213.2 kB / 4.087 GB, free: 118.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/9.857, allocations: 3.438 kB / 4.087 GB, free: 118.1 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006369/9.863, allocations: 2.751 MB / 4.09 GB, free: 118 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/9.863, allocations: 29.16 kB / 4.09 GB, free: 118 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/9.864, allocations: 338 kB / 4.09 GB, free: 118 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/9.866, allocations: 0.6135 MB / 4.091 GB, free: 118 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/9.868, allocations: 2.612 MB / 4.093 GB, free: 115.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/9.873, allocations: 263.3 kB / 4.094 GB, free: 115.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/9.873, allocations: 209.9 kB / 4.094 GB, free: 115.8 MB / 1.198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001042/9.874, allocations: 186.8 kB / 4.094 GB, free: 115.7 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/9.875, allocations: 397 kB / 4.094 GB, free: 115.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008431/9.884, allocations: 2.902 MB / 4.097 GB, free: 115.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/9.884, allocations: 15.62 kB / 4.097 GB, free: 115.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/9.884, allocations: 3.469 kB / 4.097 GB, free: 115.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/9.884, allocations: 7.844 kB / 4.097 GB, free: 115.3 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/9.896, allocations: 5.723 MB / 4.103 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/9.896, allocations: 0 / 4.103 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/9.898, allocations: 268.7 kB / 4.103 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008432/9.899, allocations: 405.2 kB / 4.104 GB, free: 114.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/9.899, allocations: 28.86 kB / 4.104 GB, free: 114.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/9.902, allocations: 5.115 MB / 4.109 GB, free: 110.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/9.902, allocations: 0 / 4.109 GB, free: 110.6 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00673/9.908, allocations: 2.603 MB / 4.111 GB, free: 109.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003091/9.912, allocations: 0.9124 MB / 4.112 GB, free: 109.6 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/9.913, allocations: 3.031 kB / 4.112 GB, free: 109.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003268/9.916, allocations: 184.7 kB / 4.112 GB, free: 109.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/9.917, allocations: 70.33 kB / 4.112 GB, free: 109.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/9.917, allocations: 82.16 kB / 4.112 GB, free: 109.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.006696/9.924, allocations: 3.49 MB / 4.116 GB, free: 109.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.009464/9.933, allocations: 1.867 MB / 4.118 GB, free: 109.1 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 6 {1 4,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003717/9.937, allocations: 2.026 MB / 4.119 GB, free: 108.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.008762/9.946, allocations: 4.073 MB / 4.123 GB, free: 108.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/9.946, allocations: 0 / 4.123 GB, free: 108.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/9.947, allocations: 0.8335 MB / 4.124 GB, free: 108.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009751/9.957, allocations: 1.827 MB / 4.126 GB, free: 108.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/9.972, allocations: 5.672 MB / 4.132 GB, free: 107.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003676/9.976, allocations: 3.009 MB / 4.135 GB, free: 106.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.122e-06/9.976, allocations: 0 / 4.135 GB, free: 106.4 MB / 1.198 GB Notification: Performance of Templates: time 0.1966/10.17, allocations: 105.5 MB / 4.238 GB, free: 100.8 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches