Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.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.Examples.MoverStages,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_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,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_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 249.5 MB / 257 MB, free: 6.887 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.001103/0.001103, allocations: 176.9 kB / 316.3 MB, free: 3.312 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.517/1.517, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0009195/0.0009196, allocations: 96.53 kB / 0.6714 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.427e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2291, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.653/1.882, allocations: 438.8 MB / 1.314 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.882, allocations: 92.39 kB / 1.314 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.167/10.05, allocations: 2.252 GB / 3.566 GB, free: 56.84 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.336e-06/10.05, allocations: 3.938 kB / 3.566 GB, free: 56.84 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001043/10.05, allocations: 116 kB / 3.566 GB, free: 56.81 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01452/10.06, allocations: 4.024 MB / 3.57 GB, free: 53.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/10.06, allocations: 10.81 kB / 3.57 GB, free: 53.97 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008371/10.07, allocations: 1.184 MB / 3.571 GB, free: 53.44 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0681/10.14, allocations: 30.37 MB / 3.6 GB, free: 26.44 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/10.14, allocations: 71.94 kB / 3.601 GB, free: 26.37 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/10.14, allocations: 144 kB / 3.601 GB, free: 26.23 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004572/10.15, allocations: 2.241 MB / 3.603 GB, free: 23.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003919/10.15, allocations: 2.503 MB / 3.605 GB, free: 21.33 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/10.15, allocations: 11.52 kB / 3.605 GB, free: 21.32 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/10.15, allocations: 4 kB / 3.605 GB, free: 21.32 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/10.15, allocations: 48 kB / 3.605 GB, free: 21.27 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02138/10.17, allocations: 12.78 MB / 3.618 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/10.18, allocations: 2.167 MB / 3.62 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009145/10.18, allocations: 0.9206 MB / 3.621 GB, free: 4.977 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008309/10.19, allocations: 5.146 MB / 3.626 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/10.19, allocations: 1.109 MB / 3.627 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002232/10.19, allocations: 170.4 kB / 3.627 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 4.178e-06/10.19, allocations: 0 / 3.627 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.008074/10.2, allocations: 2.766 MB / 3.63 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/10.2, allocations: 119.6 kB / 3.63 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009934/10.21, allocations: 4.73 MB / 3.635 GB, free: 6.59 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007155/10.21, allocations: 29.7 kB / 3.635 GB, free: 6.555 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002432/10.21, allocations: 2.155 MB / 3.637 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007233/10.21, allocations: 303.5 kB / 3.637 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/10.21, allocations: 0 / 3.637 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001882/10.21, allocations: 386 kB / 3.637 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/10.21, allocations: 1.046 MB / 3.638 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/10.22, allocations: 2.084 MB / 3.64 GB, free: 48 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/10.22, allocations: 1.484 MB / 3.642 GB, free: 14.56 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/10.22, allocations: 8 kB / 3.642 GB, free: 14.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008114/10.23, allocations: 3.584 MB / 3.645 GB, free: 10.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.8641/11.09, allocations: 13.57 MB / 3.659 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/11.09, allocations: 29.7 kB / 3.659 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/11.09, allocations: 341.9 kB / 3.659 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/11.1, allocations: 0.5413 MB / 3.66 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007097/11.1, allocations: 6.014 MB / 3.665 GB, free: 96.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004751/11.11, allocations: 145.4 kB / 3.666 GB, free: 96.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009529/11.11, allocations: 213.8 kB / 3.666 GB, free: 96.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/11.11, allocations: 3.594 kB / 3.666 GB, free: 96.48 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007818/11.12, allocations: 2.687 MB / 3.668 GB, free: 96.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/11.12, allocations: 30 kB / 3.668 GB, free: 96.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008587/11.12, allocations: 340.1 kB / 3.669 GB, free: 96.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/11.12, allocations: 0.5903 MB / 3.669 GB, free: 96.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/11.12, allocations: 2.565 MB / 3.672 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004024/11.13, allocations: 139.5 kB / 3.672 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007056/11.13, allocations: 207.8 kB / 3.672 GB, free: 94.34 MB / 0.948 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: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * 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.0009895/11.13, allocations: 202 kB / 3.672 GB, free: 94.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/11.13, allocations: 406.8 kB / 3.673 GB, free: 94.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00726/11.14, allocations: 2.579 MB / 3.675 GB, free: 94.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/11.14, allocations: 12.2 kB / 3.675 GB, free: 94.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/11.14, allocations: 5.594 kB / 3.675 GB, free: 94.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/11.14, allocations: 6.188 kB / 3.675 GB, free: 94.07 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/11.15, allocations: 5.699 MB / 3.681 GB, free: 93.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/11.15, allocations: 1.375 kB / 3.681 GB, free: 93.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/11.16, allocations: 222.3 kB / 3.681 GB, free: 93.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009546/11.16, allocations: 358.1 kB / 3.681 GB, free: 93.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/11.16, allocations: 32.11 kB / 3.681 GB, free: 93.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/11.16, allocations: 4.984 MB / 3.686 GB, free: 89.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/11.16, allocations: 5.344 kB / 3.686 GB, free: 89.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007561/11.17, allocations: 2.431 MB / 3.689 GB, free: 88.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003389/11.17, allocations: 0.9186 MB / 3.69 GB, free: 88.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001627/11.17, allocations: 3.594 kB / 3.69 GB, free: 88.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003162/11.18, allocations: 143.9 kB / 3.69 GB, free: 88.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/11.18, allocations: 94.88 kB / 3.69 GB, free: 88.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/11.18, allocations: 78.28 kB / 3.69 GB, free: 88.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009102/11.19, allocations: 3.528 MB / 3.693 GB, free: 88.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/11.19, allocations: 6.047 kB / 3.693 GB, free: 88.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01156/11.2, allocations: 1.883 MB / 3.695 GB, free: 88.12 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * 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 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00521/11.2, allocations: 2.247 MB / 3.697 GB, free: 87.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009902/11.21, allocations: 3.976 MB / 3.701 GB, free: 87.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/11.21, allocations: 1 kB / 3.701 GB, free: 87.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/11.22, allocations: 0.8261 MB / 3.702 GB, free: 87.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01384/11.23, allocations: 1.943 MB / 3.704 GB, free: 87.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/11.25, allocations: 5.559 MB / 3.709 GB, free: 86.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005057/11.25, allocations: 2.703 MB / 3.712 GB, free: 85.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01247/11.26, allocations: 2.143 MB / 3.714 GB, free: 85.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/11.26, allocations: 233.2 kB / 3.714 GB, free: 85.36 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/11.26, allocations: 2.688 kB / 3.714 GB, free: 85.36 MB / 0.948 GB Notification: Performance of Templates: time 0.179/11.44, allocations: 96.47 MB / 3.809 GB, free: 80.09 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_MoverStages.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches