Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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_y,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_y") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y,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_y") [: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.077/2.077, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001207/0.001207, allocations: 188.6 kB / 487 MB, free: 5.391 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.528/1.528, allocations: 221.3 MB / 0.7819 GB, free: 1.414 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.001057/0.001057, allocations: 95.05 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/7.905e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3569, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.623/4.98, allocations: 1.945 GB / 3.15 GB, free: 382.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/4.981, allocations: 83.95 kB / 3.15 GB, free: 382.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.795/9.776, allocations: 1.555 GB / 4.705 GB, free: 109.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002408/9.776, allocations: 63.12 kB / 4.705 GB, free: 109.1 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.006246/9.782, allocations: 2.591 MB / 4.707 GB, free: 106.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/9.783, allocations: 9.031 kB / 4.707 GB, free: 106.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007404/9.79, allocations: 1.085 MB / 4.708 GB, free: 105.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007987/9.798, allocations: 3.173 MB / 4.711 GB, free: 102.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/9.798, allocations: 44 kB / 4.711 GB, free: 102.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/9.798, allocations: 96 kB / 4.711 GB, free: 102.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002333/9.801, allocations: 1.372 MB / 4.713 GB, free: 100.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/9.803, allocations: 1.517 MB / 4.714 GB, free: 99.12 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/9.803, allocations: 3.938 kB / 4.714 GB, free: 99.12 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/9.803, allocations: 0 / 4.714 GB, free: 99.12 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/9.803, allocations: 50.67 kB / 4.714 GB, free: 99.07 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/9.814, allocations: 8.024 MB / 4.722 GB, free: 90.57 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/9.816, allocations: 0.9989 MB / 4.723 GB, free: 89.57 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/9.817, allocations: 0.6232 MB / 4.724 GB, free: 88.95 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/9.817, allocations: 277.4 kB / 4.724 GB, free: 88.63 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/9.817, allocations: 43.34 kB / 4.724 GB, free: 88.58 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 3.387e-06/9.817, allocations: 0 / 4.724 GB, free: 88.58 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.004408/9.821, allocations: 1.42 MB / 4.725 GB, free: 87.13 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/9.821, allocations: 68.19 kB / 4.726 GB, free: 87.05 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/9.823, allocations: 1.376 MB / 4.727 GB, free: 85.65 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/9.824, allocations: 25.7 kB / 4.727 GB, free: 85.62 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/9.824, allocations: 0.6327 MB / 4.728 GB, free: 84.97 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/9.824, allocations: 287.7 kB / 4.728 GB, free: 84.68 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/9.824, allocations: 0 / 4.728 GB, free: 84.68 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/9.824, allocations: 350 kB / 4.728 GB, free: 84.34 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005712/9.825, allocations: 434.5 kB / 4.729 GB, free: 83.91 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/9.826, allocations: 0.8474 MB / 4.729 GB, free: 82.87 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/9.827, allocations: 0.5965 MB / 4.73 GB, free: 82.28 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/9.827, allocations: 7.938 kB / 4.73 GB, free: 82.27 MB / 1.167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003706/9.831, allocations: 1.665 MB / 4.732 GB, free: 80.59 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006709/9.831, allocations: 3.859 MB / 4.735 GB, free: 76.47 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/9.831, allocations: 15.98 kB / 4.735 GB, free: 76.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009551/9.832, allocations: 306.4 kB / 4.736 GB, free: 76.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/9.834, allocations: 269.8 kB / 4.736 GB, free: 75.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/9.837, allocations: 3.638 MB / 4.739 GB, free: 72.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/9.839, allocations: 186.9 kB / 4.74 GB, free: 71.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/9.84, allocations: 80.02 kB / 4.74 GB, free: 71.79 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/9.84, allocations: 8 kB / 4.74 GB, free: 71.79 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003387/9.843, allocations: 1.353 MB / 4.741 GB, free: 70.43 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/9.843, allocations: 8 kB / 4.741 GB, free: 70.42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/9.844, allocations: 326.5 kB / 4.741 GB, free: 70.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/9.845, allocations: 239.7 kB / 4.742 GB, free: 69.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006054/9.851, allocations: 4.945 MB / 4.746 GB, free: 64.59 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/9.854, allocations: 171.1 kB / 4.747 GB, free: 64.42 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/9.854, allocations: 72.03 kB / 4.747 GB, free: 64.35 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.0004434/9.854, allocations: 140.6 kB / 4.747 GB, free: 64.21 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/9.855, allocations: 197.6 kB / 4.747 GB, free: 64.01 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/9.858, allocations: 1.434 MB / 4.748 GB, free: 62.57 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/9.858, allocations: 11.91 kB / 4.748 GB, free: 62.56 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/9.858, allocations: 4 kB / 4.748 GB, free: 62.55 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002411/9.861, allocations: 1.181 MB / 4.75 GB, free: 61.34 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00637/9.867, allocations: 2.968 MB / 4.752 GB, free: 58.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/9.867, allocations: 0 / 4.752 GB, free: 58.31 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/9.868, allocations: 203.8 kB / 4.753 GB, free: 58.11 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006453/9.869, allocations: 219.8 kB / 4.753 GB, free: 57.89 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/9.869, allocations: 19.97 kB / 4.753 GB, free: 57.87 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003242/9.872, allocations: 3.485 MB / 4.756 GB, free: 54.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/9.872, allocations: 7.938 kB / 4.756 GB, free: 54.19 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00425/9.877, allocations: 1.994 MB / 4.758 GB, free: 52.12 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/9.878, allocations: 374.3 kB / 4.759 GB, free: 51.74 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/9.878, allocations: 4 kB / 4.759 GB, free: 51.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/9.88, allocations: 119.7 kB / 4.759 GB, free: 51.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/9.88, allocations: 48.8 kB / 4.759 GB, free: 51.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.863e-05/9.88, allocations: 43.95 kB / 4.759 GB, free: 51.53 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001571/9.881, allocations: 1.047 MB / 4.76 GB, free: 50.46 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00501/9.886, allocations: 1.44 MB / 4.761 GB, free: 49.02 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.007589/9.894, allocations: 4.684 MB / 4.766 GB, free: 44.34 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004987/9.899, allocations: 2.117 MB / 4.768 GB, free: 42.19 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/9.899, allocations: 0 / 4.768 GB, free: 42.19 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/9.901, allocations: 0.5997 MB / 4.768 GB, free: 41.59 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007267/9.908, allocations: 0.8808 MB / 4.769 GB, free: 40.71 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007881/9.916, allocations: 2.92 MB / 4.772 GB, free: 37.73 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/9.917, allocations: 1.819 MB / 4.774 GB, free: 35.88 MB / 1.167 GB Notification: Performance of SimCode: time 8.82e-07/9.917, allocations: 0 / 4.774 GB, free: 35.88 MB / 1.167 GB Notification: Performance of Templates: time 0.1064/10.02, allocations: 66.2 MB / 4.839 GB, free: 2.23 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches