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.445/1.445, allocations: 251.9 MB / 266.9 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 182.2 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.001051/0.001051, allocations: 100.4 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004539, allocations: 13.38 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2331, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.929/1.162, allocations: 438.6 MB / 1.328 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/1.163, allocations: 99.83 kB / 1.328 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.138/9.301, allocations: 2.273 GB / 3.602 GB, free: 89.47 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.447e-06/9.301, allocations: 2.344 kB / 3.602 GB, free: 89.47 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001301/9.302, allocations: 114.5 kB / 3.602 GB, free: 89.45 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.02669/9.329, allocations: 7.831 MB / 3.61 GB, free: 87 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/9.329, allocations: 7.156 kB / 3.61 GB, free: 87 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007865/9.337, allocations: 1.185 MB / 3.611 GB, free: 86.72 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06972/9.407, allocations: 30.63 MB / 3.641 GB, free: 84.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/9.407, allocations: 181.8 kB / 3.641 GB, free: 84.89 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/9.409, allocations: 246.1 kB / 3.641 GB, free: 84.89 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00918/9.418, allocations: 2.902 MB / 3.644 GB, free: 84.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/9.418, allocations: 4.438 kB / 3.644 GB, free: 84.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008518/9.419, allocations: 89.12 kB / 3.644 GB, free: 84.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/9.419, allocations: 49.19 kB / 3.644 GB, free: 84.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006199/9.425, allocations: 2.121 MB / 3.646 GB, free: 84.48 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02358/9.449, allocations: 13.25 MB / 3.659 GB, free: 79.82 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003991/9.453, allocations: 1.625 MB / 3.661 GB, free: 79.78 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009141/9.462, allocations: 5.237 MB / 3.666 GB, free: 77.88 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002085/9.464, allocations: 1.219 MB / 3.667 GB, free: 77.81 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0023/9.466, allocations: 236.3 kB / 3.667 GB, free: 77.71 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 5.621e-06/9.466, allocations: 0 / 3.667 GB, free: 77.71 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.01308/9.479, allocations: 3.441 MB / 3.67 GB, free: 77 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/9.48, allocations: 115.7 kB / 3.671 GB, free: 76.87 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01871/9.498, allocations: 5.265 MB / 3.676 GB, free: 76.53 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008575/9.499, allocations: 65.48 kB / 3.676 GB, free: 76.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003703/9.503, allocations: 2.134 MB / 3.678 GB, free: 76.02 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008741/9.504, allocations: 316.6 kB / 3.678 GB, free: 75.82 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/9.504, allocations: 40.72 kB / 3.678 GB, free: 75.82 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002004/9.504, allocations: 382.9 kB / 3.679 GB, free: 75.52 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003409/9.508, allocations: 0.8693 MB / 3.679 GB, free: 75.51 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/9.512, allocations: 1.93 MB / 3.681 GB, free: 74.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/9.516, allocations: 1.078 MB / 3.682 GB, free: 74.18 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/9.516, allocations: 14.67 kB / 3.682 GB, free: 74.17 MB / 0.9323 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01201/9.528, allocations: 3.206 MB / 3.685 GB, free: 73.84 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003548/9.532, allocations: 13.76 MB / 3.699 GB, free: 59.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.067e-05/9.532, allocations: 34.5 kB / 3.699 GB, free: 59.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/9.534, allocations: 390.6 kB / 3.699 GB, free: 59.31 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004896/9.539, allocations: 0.5442 MB / 3.7 GB, free: 59.31 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/9.543, allocations: 5.263 MB / 3.705 GB, free: 54.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005421/9.549, allocations: 185.9 kB / 3.705 GB, free: 54.87 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008777/9.55, allocations: 215.9 kB / 3.705 GB, free: 54.87 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/9.55, allocations: 7 kB / 3.705 GB, free: 54.87 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007054/9.557, allocations: 2.9 MB / 3.708 GB, free: 54.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/9.557, allocations: 30 kB / 3.708 GB, free: 54.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/9.558, allocations: 390.2 kB / 3.709 GB, free: 54.74 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/9.56, allocations: 0.5823 MB / 3.709 GB, free: 54.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/9.562, allocations: 2.571 MB / 3.712 GB, free: 52.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/9.566, allocations: 186.3 kB / 3.712 GB, free: 52.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/9.567, allocations: 200.3 kB / 3.712 GB, free: 52.61 MB / 0.9323 GB 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 () * Number of clocked 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.003346/9.57, allocations: 1.178 MB / 3.713 GB, free: 52.37 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/9.571, allocations: 427.9 kB / 3.714 GB, free: 52.14 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007989/9.579, allocations: 2.779 MB / 3.716 GB, free: 51.89 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/9.579, allocations: 12.78 kB / 3.716 GB, free: 51.89 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/9.579, allocations: 4 kB / 3.716 GB, free: 51.89 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/9.579, allocations: 9.703 kB / 3.716 GB, free: 51.89 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01683/9.596, allocations: 6.118 MB / 3.722 GB, free: 51.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/9.596, allocations: 0 / 3.722 GB, free: 51.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/9.598, allocations: 222.1 kB / 3.723 GB, free: 51.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/9.599, allocations: 414.8 kB / 3.723 GB, free: 51.28 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/9.599, allocations: 40.95 kB / 3.723 GB, free: 51.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/9.602, allocations: 4.96 MB / 3.728 GB, free: 46.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/9.602, allocations: 3.938 kB / 3.728 GB, free: 46.96 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006197/9.608, allocations: 2.614 MB / 3.73 GB, free: 46.27 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003269/9.611, allocations: 0.9478 MB / 3.731 GB, free: 45.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/9.613, allocations: 24.56 kB / 3.731 GB, free: 45.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003164/9.616, allocations: 168.1 kB / 3.732 GB, free: 45.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/9.616, allocations: 89.03 kB / 3.732 GB, free: 45.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/9.617, allocations: 78.03 kB / 3.732 GB, free: 45.89 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.008524/9.625, allocations: 4.013 MB / 3.736 GB, free: 45.71 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.4e-07/9.625, allocations: 0 / 3.736 GB, free: 45.71 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009677/9.635, allocations: 1.948 MB / 3.737 GB, free: 45.49 MB / 0.9323 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) * Number of clocked states: 0 () * 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.005218/9.64, allocations: 2.391 MB / 3.74 GB, free: 44.69 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01045/9.651, allocations: 3.854 MB / 3.744 GB, free: 44.02 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/9.651, allocations: 6.25 kB / 3.744 GB, free: 44.02 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003003/9.654, allocations: 0.9398 MB / 3.745 GB, free: 43.73 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0118/9.665, allocations: 2.159 MB / 3.747 GB, free: 43.25 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/9.684, allocations: 8.325 MB / 3.755 GB, free: 38.84 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004261/9.688, allocations: 2.692 MB / 3.757 GB, free: 37.78 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.007314/9.695, allocations: 1.217 MB / 3.759 GB, free: 37.59 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/9.697, allocations: 367.6 kB / 3.759 GB, free: 37.56 MB / 0.9323 GB Notification: Performance of SimCode: time 1.062e-06/9.697, allocations: 0 / 3.759 GB, free: 37.56 MB / 0.9323 GB Notification: Performance of Templates: time 0.7842/10.48, allocations: 106 MB / 3.862 GB, free: 70.9 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