Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") [: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.241/2.241, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001819/0.001819, allocations: 176.6 kB / 487 MB, free: 5.379 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.653/1.653, allocations: 221.3 MB / 0.7819 GB, free: 1.359 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.001168/0.001168, allocations: 98.88 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/7.945e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3486, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.407/4.756, allocations: 1.945 GB / 3.15 GB, free: 381.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/4.756, allocations: 91.95 kB / 3.15 GB, free: 381 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.786/9.542, allocations: 1.555 GB / 4.705 GB, free: 109.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002663/9.542, allocations: 63.98 kB / 4.705 GB, free: 109 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.00757/9.55, allocations: 2.583 MB / 4.707 GB, free: 106.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/9.55, allocations: 9.031 kB / 4.707 GB, free: 106.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007654/9.558, allocations: 1.096 MB / 4.708 GB, free: 105.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008421/9.566, allocations: 3.17 MB / 4.711 GB, free: 102.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/9.566, allocations: 44 kB / 4.711 GB, free: 102 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/9.567, allocations: 96 kB / 4.711 GB, free: 101.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002439/9.569, allocations: 1.368 MB / 4.713 GB, free: 100.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/9.571, allocations: 1.52 MB / 4.714 GB, free: 98.99 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/9.571, allocations: 4 kB / 4.714 GB, free: 98.99 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/9.571, allocations: 0 / 4.714 GB, free: 98.99 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/9.572, allocations: 46.67 kB / 4.714 GB, free: 98.94 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/9.583, allocations: 8.034 MB / 4.722 GB, free: 90.46 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/9.584, allocations: 1.001 MB / 4.723 GB, free: 89.46 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/9.585, allocations: 0.6147 MB / 4.724 GB, free: 88.84 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/9.585, allocations: 284.8 kB / 4.724 GB, free: 88.52 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/9.585, allocations: 43.33 kB / 4.724 GB, free: 88.46 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 3.276e-06/9.585, allocations: 0 / 4.724 GB, free: 88.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.004188/9.59, allocations: 1.42 MB / 4.725 GB, free: 87.02 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/9.59, allocations: 64.19 kB / 4.726 GB, free: 86.95 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/9.592, allocations: 1.372 MB / 4.727 GB, free: 85.54 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/9.592, allocations: 29.7 kB / 4.727 GB, free: 85.51 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/9.592, allocations: 0.6327 MB / 4.728 GB, free: 84.86 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/9.592, allocations: 283.7 kB / 4.728 GB, free: 84.58 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/9.593, allocations: 3.938 kB / 4.728 GB, free: 84.57 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/9.593, allocations: 350 kB / 4.728 GB, free: 84.23 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/9.593, allocations: 442.5 kB / 4.729 GB, free: 83.79 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007943/9.594, allocations: 0.8435 MB / 4.729 GB, free: 82.76 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/9.595, allocations: 0.6004 MB / 4.73 GB, free: 82.16 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/9.595, allocations: 0 / 4.73 GB, free: 82.16 MB / 1.167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003889/9.599, allocations: 1.662 MB / 4.732 GB, free: 80.48 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001071/9.6, allocations: 3.859 MB / 4.735 GB, free: 76.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/9.6, allocations: 8 kB / 4.735 GB, free: 76.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009726/9.601, allocations: 314.3 kB / 4.736 GB, free: 76.04 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/9.603, allocations: 267.6 kB / 4.736 GB, free: 75.78 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/9.606, allocations: 3.645 MB / 4.739 GB, free: 71.95 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/9.608, allocations: 190.8 kB / 4.74 GB, free: 71.76 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/9.609, allocations: 84.02 kB / 4.74 GB, free: 71.68 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/9.609, allocations: 8 kB / 4.74 GB, free: 71.67 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003299/9.612, allocations: 1.346 MB / 4.741 GB, free: 70.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/9.612, allocations: 12 kB / 4.741 GB, free: 70.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/9.613, allocations: 310.5 kB / 4.741 GB, free: 69.99 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009927/9.614, allocations: 251.6 kB / 4.742 GB, free: 69.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/9.62, allocations: 4.952 MB / 4.746 GB, free: 64.47 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/9.622, allocations: 175.1 kB / 4.747 GB, free: 64.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/9.622, allocations: 64.05 kB / 4.747 GB, free: 64.23 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004063/9.623, allocations: 144.7 kB / 4.747 GB, free: 64.08 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/9.623, allocations: 189.6 kB / 4.747 GB, free: 63.89 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/9.626, allocations: 1.43 MB / 4.748 GB, free: 62.46 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/9.626, allocations: 11.91 kB / 4.748 GB, free: 62.45 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/9.626, allocations: 0 / 4.748 GB, free: 62.45 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00237/9.629, allocations: 1.192 MB / 4.75 GB, free: 61.22 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/9.634, allocations: 2.961 MB / 4.752 GB, free: 58.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/9.634, allocations: 0 / 4.752 GB, free: 58.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/9.635, allocations: 211.8 kB / 4.753 GB, free: 57.99 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000574/9.636, allocations: 226.4 kB / 4.753 GB, free: 57.76 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.533e-05/9.636, allocations: 15.98 kB / 4.753 GB, free: 57.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/9.639, allocations: 3.48 MB / 4.756 GB, free: 54.08 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/9.639, allocations: 0 / 4.756 GB, free: 54.08 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003465/9.642, allocations: 1.999 MB / 4.758 GB, free: 52.01 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009112/9.643, allocations: 382.2 kB / 4.759 GB, free: 51.62 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/9.643, allocations: 4 kB / 4.759 GB, free: 51.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/9.645, allocations: 119.7 kB / 4.759 GB, free: 51.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/9.645, allocations: 52.7 kB / 4.759 GB, free: 51.45 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.619e-05/9.645, allocations: 39.97 kB / 4.759 GB, free: 51.41 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001446/9.646, allocations: 1.04 MB / 4.76 GB, free: 50.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004682/9.651, allocations: 1.436 MB / 4.761 GB, free: 48.91 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006502/9.658, allocations: 4.685 MB / 4.766 GB, free: 44.22 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004052/9.662, allocations: 2.113 MB / 4.768 GB, free: 42.08 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/9.662, allocations: 0 / 4.768 GB, free: 42.08 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/9.663, allocations: 0.6033 MB / 4.768 GB, free: 41.47 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/9.667, allocations: 0.8912 MB / 4.769 GB, free: 40.59 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00601/9.673, allocations: 2.913 MB / 4.772 GB, free: 37.61 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/9.675, allocations: 1.823 MB / 4.774 GB, free: 35.75 MB / 1.167 GB Notification: Performance of SimCode: time 1.142e-06/9.675, allocations: 0 / 4.774 GB, free: 35.75 MB / 1.167 GB Notification: Performance of Templates: time 0.1055/9.78, allocations: 66.21 MB / 4.839 GB, free: 2.09 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches