Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 7.105 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.001003/0.001003, allocations: 181.3 kB / 316 MB, free: 3.551 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.082/1.082, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008641/0.0008641, allocations: 92.52 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.081e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1548, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.512/3.666, allocations: 2.231 GB / 3.116 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/3.667, allocations: 94.31 kB / 3.116 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.819/7.486, allocations: 1.487 GB / 4.603 GB, free: 29.95 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001891/7.486, allocations: 68.14 kB / 4.603 GB, free: 29.89 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004377/7.49, allocations: 2.587 MB / 4.606 GB, free: 27.25 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/7.49, allocations: 12.03 kB / 4.606 GB, free: 27.23 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/7.495, allocations: 0.8747 MB / 4.607 GB, free: 26.36 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005726/7.501, allocations: 3.081 MB / 4.61 GB, free: 23.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/7.501, allocations: 51.94 kB / 4.61 GB, free: 23.15 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/7.501, allocations: 92 kB / 4.61 GB, free: 23.06 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002097/7.503, allocations: 1.341 MB / 4.611 GB, free: 21.71 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/7.505, allocations: 1.501 MB / 4.613 GB, free: 20.15 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/7.505, allocations: 4 kB / 4.613 GB, free: 20.15 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/7.506, allocations: 0 / 4.613 GB, free: 20.15 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/7.506, allocations: 50.62 kB / 4.613 GB, free: 20.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008717/7.514, allocations: 7.834 MB / 4.62 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/7.516, allocations: 0.9813 MB / 4.621 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/7.516, allocations: 0.6083 MB / 4.622 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/7.517, allocations: 284 kB / 4.622 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/7.517, allocations: 43.34 kB / 4.622 GB, free: 9.742 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=85): time 3.016e-06/7.517, allocations: 0 / 4.622 GB, free: 9.742 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85): time 0.003681/7.52, allocations: 1.385 MB / 4.624 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/7.52, allocations: 64.12 kB / 4.624 GB, free: 8.258 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/7.522, allocations: 1.367 MB / 4.625 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.973e-05/7.522, allocations: 29.7 kB / 4.625 GB, free: 6.824 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/7.522, allocations: 0.6403 MB / 4.626 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/7.522, allocations: 283.7 kB / 4.626 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/7.522, allocations: 0 / 4.626 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.27e-05/7.522, allocations: 349.8 kB / 4.626 GB, free: 5.539 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/7.523, allocations: 422.5 kB / 4.627 GB, free: 5.129 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/7.524, allocations: 0.8413 MB / 4.628 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/7.525, allocations: 0.5965 MB / 4.628 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/7.525, allocations: 4 kB / 4.628 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003125/7.528, allocations: 1.631 MB / 4.63 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009368/7.529, allocations: 3.847 MB / 4.633 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/7.529, allocations: 12 kB / 4.634 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000946/7.53, allocations: 310.4 kB / 4.634 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/7.531, allocations: 251.6 kB / 4.634 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/7.535, allocations: 3.626 MB / 4.638 GB, free: 9.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/7.536, allocations: 174.8 kB / 4.638 GB, free: 9.168 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/7.536, allocations: 88.27 kB / 4.638 GB, free: 9.082 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-06/7.536, allocations: 0 / 4.638 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0033/7.54, allocations: 1.323 MB / 4.639 GB, free: 7.746 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/7.54, allocations: 16 kB / 4.639 GB, free: 7.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/7.541, allocations: 314.5 kB / 4.639 GB, free: 7.414 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009393/7.542, allocations: 235.6 kB / 4.64 GB, free: 7.184 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/7.548, allocations: 4.932 MB / 4.644 GB, free: 1.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/7.55, allocations: 143.2 kB / 4.645 GB, free: 1.789 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/7.55, allocations: 72.03 kB / 4.645 GB, free: 1.719 MB / 0.948 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.000323/7.55, allocations: 151.8 kB / 4.645 GB, free: 1.566 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/7.551, allocations: 189.6 kB / 4.645 GB, free: 1.379 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3785/7.929, allocations: 1.404 MB / 4.646 GB, free: 97.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/7.929, allocations: 7.344 kB / 4.646 GB, free: 97.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/7.929, allocations: 0 / 4.646 GB, free: 97.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002606/7.932, allocations: 1.165 MB / 4.648 GB, free: 97.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/7.937, allocations: 2.894 MB / 4.65 GB, free: 97.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/7.937, allocations: 3.938 kB / 4.65 GB, free: 97.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/7.938, allocations: 194.5 kB / 4.651 GB, free: 97.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005549/7.939, allocations: 223.9 kB / 4.651 GB, free: 97.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/7.939, allocations: 18.72 kB / 4.651 GB, free: 97.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/7.941, allocations: 3.469 MB / 4.654 GB, free: 94.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/7.941, allocations: 5.844 kB / 4.654 GB, free: 94.35 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003176/7.944, allocations: 1.982 MB / 4.656 GB, free: 94.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/7.945, allocations: 377.7 kB / 4.656 GB, free: 93.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/7.945, allocations: 3.906 kB / 4.656 GB, free: 93.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/7.946, allocations: 108.3 kB / 4.657 GB, free: 93.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/7.947, allocations: 49.66 kB / 4.657 GB, free: 93.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/7.947, allocations: 46.88 kB / 4.657 GB, free: 93.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00114/7.948, allocations: 1.03 MB / 4.658 GB, free: 93.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003675/7.951, allocations: 1.412 MB / 4.659 GB, free: 93.72 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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.004672/7.956, allocations: 4.679 MB / 4.664 GB, free: 92.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003076/7.959, allocations: 2.079 MB / 4.666 GB, free: 91.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/7.959, allocations: 2.75 kB / 4.666 GB, free: 91.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008328/7.96, allocations: 0.5851 MB / 4.666 GB, free: 91.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/7.963, allocations: 0.8821 MB / 4.667 GB, free: 91.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/7.968, allocations: 2.887 MB / 4.67 GB, free: 90.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/7.969, allocations: 1.816 MB / 4.672 GB, free: 90.12 MB / 0.948 GB Notification: Performance of SimCode: time 3.2e-07/7.969, allocations: 0 / 4.672 GB, free: 90.12 MB / 0.948 GB Notification: Performance of Templates: time 0.0849/8.054, allocations: 65.28 MB / 4.735 GB, free: 88.56 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches