Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.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.PowerSimplified,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.P|pump_dp.P|pump_m_flow.P|pump_Nrpm.per.speed_rpm_nominal|pump_Nrpm.Nrpm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified") translateModel(Buildings.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.P|pump_dp.P|pump_m_flow.P|pump_Nrpm.per.speed_rpm_nominal|pump_Nrpm.Nrpm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified") [: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.224/1.224, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009852/0.0009852, allocations: 185.2 kB / 316 MB, free: 3.559 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.078/1.078, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008614/0.0008613, allocations: 89.22 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.252e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.88/1.014, allocations: 434.8 MB / 1.309 GB, free: 283.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/1.014, allocations: 85.7 kB / 1.309 GB, free: 283.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.5/3.515, allocations: 0.9776 GB / 2.287 GB, free: 95.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003217/3.515, allocations: 89.53 kB / 2.287 GB, free: 95.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.005282/3.52, allocations: 3.111 MB / 2.29 GB, free: 94.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/3.521, allocations: 15.94 kB / 2.29 GB, free: 94.58 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/3.523, allocations: 0.626 MB / 2.291 GB, free: 94.37 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04324/3.567, allocations: 22.31 MB / 2.312 GB, free: 93.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/3.567, allocations: 56.38 kB / 2.312 GB, free: 93.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/3.567, allocations: 118 kB / 2.313 GB, free: 93.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00231/3.569, allocations: 1.533 MB / 2.314 GB, free: 93.13 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/3.572, allocations: 1.8 MB / 2.316 GB, free: 92.87 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/3.572, allocations: 7.031 kB / 2.316 GB, free: 92.87 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/3.572, allocations: 7.031 kB / 2.316 GB, free: 92.87 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/3.572, allocations: 45.91 kB / 2.316 GB, free: 92.87 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/3.583, allocations: 9.816 MB / 2.325 GB, free: 88.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/3.585, allocations: 1.301 MB / 2.327 GB, free: 88.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/3.585, allocations: 0.6518 MB / 2.327 GB, free: 88.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004334/3.59, allocations: 3.628 MB / 2.331 GB, free: 86.94 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/3.59, allocations: 43.06 kB / 2.331 GB, free: 86.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=90): time 2.165e-06/3.59, allocations: 0 / 2.331 GB, free: 86.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=96): time 0.00918/3.599, allocations: 4.052 MB / 2.335 GB, free: 85.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/3.599, allocations: 59 kB / 2.335 GB, free: 85.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/3.602, allocations: 2.928 MB / 2.338 GB, free: 85.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.322e-05/3.603, allocations: 28.86 kB / 2.338 GB, free: 85.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/3.603, allocations: 0.915 MB / 2.339 GB, free: 85.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/3.603, allocations: 332.5 kB / 2.339 GB, free: 84.98 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/3.603, allocations: 3.5 kB / 2.339 GB, free: 84.98 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.821e-05/3.603, allocations: 362.1 kB / 2.339 GB, free: 84.67 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007185/3.604, allocations: 0.6147 MB / 2.34 GB, free: 84.67 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009485/3.605, allocations: 1.314 MB / 2.341 GB, free: 83.82 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/3.607, allocations: 0.9382 MB / 2.342 GB, free: 83.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/3.607, allocations: 3.906 kB / 2.342 GB, free: 83.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004207/3.611, allocations: 2.424 MB / 2.345 GB, free: 83.55 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001177/3.613, allocations: 7.922 MB / 2.352 GB, free: 75.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/3.613, allocations: 17.78 kB / 2.352 GB, free: 75.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/3.614, allocations: 399.9 kB / 2.353 GB, free: 75.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/3.615, allocations: 357.1 kB / 2.353 GB, free: 75.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/3.617, allocations: 3.494 MB / 2.356 GB, free: 72.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/3.619, allocations: 135.5 kB / 2.357 GB, free: 72.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/3.619, allocations: 119.9 kB / 2.357 GB, free: 72.53 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/3.619, allocations: 3.219 kB / 2.357 GB, free: 72.53 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003598/3.623, allocations: 1.892 MB / 2.359 GB, free: 72.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/3.623, allocations: 20.94 kB / 2.359 GB, free: 72.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009073/3.624, allocations: 443.7 kB / 2.359 GB, free: 72.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/3.625, allocations: 316.7 kB / 2.359 GB, free: 72.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/3.631, allocations: 5.636 MB / 2.365 GB, free: 69.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/3.633, allocations: 120.8 kB / 2.365 GB, free: 69.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/3.633, allocations: 108 kB / 2.365 GB, free: 69.25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 159 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003547/3.633, allocations: 161.4 kB / 2.365 GB, free: 69.13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/3.634, allocations: 304.9 kB / 2.365 GB, free: 68.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/3.637, allocations: 1.953 MB / 2.367 GB, free: 68.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/3.637, allocations: 22.7 kB / 2.367 GB, free: 68.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/3.637, allocations: 0 / 2.367 GB, free: 68.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002063/3.639, allocations: 1.54 MB / 2.369 GB, free: 68.37 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/3.646, allocations: 3.958 MB / 2.373 GB, free: 67.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/3.646, allocations: 0 / 2.373 GB, free: 67.94 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/3.647, allocations: 234 kB / 2.373 GB, free: 67.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/3.647, allocations: 82.58 kB / 2.373 GB, free: 67.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/3.647, allocations: 19.05 kB / 2.373 GB, free: 67.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005635/3.648, allocations: 1.311 MB / 2.374 GB, free: 66.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/3.648, allocations: 0 / 2.374 GB, free: 66.82 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003076/3.651, allocations: 2.49 MB / 2.377 GB, free: 66.31 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/3.652, allocations: 0.5964 MB / 2.377 GB, free: 66.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/3.652, allocations: 0 / 2.377 GB, free: 66.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/3.653, allocations: 106.4 kB / 2.377 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/3.653, allocations: 62.94 kB / 2.377 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.795e-05/3.654, allocations: 60.41 kB / 2.378 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002477/3.656, allocations: 2.217 MB / 2.38 GB, free: 65.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004054/3.66, allocations: 1.473 MB / 2.381 GB, free: 65.78 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump_Nrpm.port_a.h_outflow,pump_dp.port_a.h_outflow,pump_m_flow.port_a.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002264/3.662, allocations: 1.774 MB / 2.383 GB, free: 65.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003622/3.666, allocations: 2.643 MB / 2.385 GB, free: 65.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/3.666, allocations: 0 / 2.385 GB, free: 65.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/3.667, allocations: 0.614 MB / 2.386 GB, free: 65.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005873/3.673, allocations: 1.446 MB / 2.387 GB, free: 65.14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007663/3.68, allocations: 4.493 MB / 2.392 GB, free: 64.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/3.683, allocations: 2.507 MB / 2.394 GB, free: 63.34 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/3.683, allocations: 0 / 2.394 GB, free: 63.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.1028/3.785, allocations: 77.63 MB / 2.47 GB, free: 59.01 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_PowerSimplified.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches