Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.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.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_9_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_9_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001073/0.001073, allocations: 167.7 kB / 492.3 MB, free: 0.6484 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.524/1.524, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009789/0.0009784, allocations: 85.09 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.722e-05/2.726e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2953, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.601, allocations: 445.3 MB / 1.647 GB, free: 1.457 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.601, allocations: 93.19 kB / 1.647 GB, free: 1.41 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 10.03/11.63, allocations: 2.363 GB / 4.01 GB, free: 155.5 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.946e-06/11.63, allocations: 2.5 kB / 4.01 GB, free: 155.5 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001486/11.63, allocations: 109.2 kB / 4.01 GB, free: 155.5 MB / 1.214 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.01997/11.65, allocations: 4.042 MB / 4.014 GB, free: 154.1 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/11.65, allocations: 9.406 kB / 4.014 GB, free: 154.1 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/11.67, allocations: 1.543 MB / 4.016 GB, free: 153.8 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08171/11.75, allocations: 31.74 MB / 4.047 GB, free: 152.2 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/11.75, allocations: 186 kB / 4.047 GB, free: 152.1 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/11.75, allocations: 234.6 kB / 4.047 GB, free: 152.1 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005329/11.75, allocations: 2.841 MB / 4.05 GB, free: 151.8 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/11.75, allocations: 7.344 kB / 4.05 GB, free: 151.8 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/11.75, allocations: 85.56 kB / 4.05 GB, free: 151.8 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/11.75, allocations: 56.7 kB / 4.05 GB, free: 151.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/11.76, allocations: 1.975 MB / 4.052 GB, free: 151.7 MB / 1.214 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.02899/11.79, allocations: 13.49 MB / 4.065 GB, free: 147.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/11.79, allocations: 1.501 MB / 4.067 GB, free: 147.1 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/11.79, allocations: 0.6478 MB / 4.067 GB, free: 147 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/11.8, allocations: 5.362 MB / 4.072 GB, free: 145.1 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/11.8, allocations: 1.165 MB / 4.074 GB, free: 145.1 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003369/11.81, allocations: 232.2 kB / 4.074 GB, free: 145 MB / 1.214 GB Notification: Performance of pre-optimization done (n=92): time 1.067e-05/11.81, allocations: 0 / 4.074 GB, free: 145 MB / 1.214 GB Notification: Performance of matching and sorting (n=92): time 0.006297/11.81, allocations: 2.042 MB / 4.076 GB, free: 144.7 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/11.81, allocations: 124.2 kB / 4.076 GB, free: 144.5 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0148/11.83, allocations: 5.227 MB / 4.081 GB, free: 144.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0009017/11.83, allocations: 59.27 kB / 4.081 GB, free: 144.1 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.004067/11.83, allocations: 2.159 MB / 4.083 GB, free: 143.7 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/11.83, allocations: 315.8 kB / 4.083 GB, free: 143.5 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007156/11.84, allocations: 42.39 kB / 4.083 GB, free: 143.5 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003185/11.84, allocations: 387.2 kB / 4.084 GB, free: 143.2 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/11.84, allocations: 0.7924 MB / 4.085 GB, free: 143.1 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/11.84, allocations: 1.854 MB / 4.086 GB, free: 141.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002783/11.84, allocations: 1.014 MB / 4.087 GB, free: 141.8 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.456e-05/11.84, allocations: 14.44 kB / 4.087 GB, free: 141.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01037/11.85, allocations: 3.049 MB / 4.09 GB, free: 141.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.003735/11.86, allocations: 13.78 MB / 4.104 GB, free: 127 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.521e-05/11.86, allocations: 30.38 kB / 4.104 GB, free: 127 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/11.86, allocations: 368.7 kB / 4.104 GB, free: 127 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/11.86, allocations: 0.5791 MB / 4.105 GB, free: 127 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/11.87, allocations: 5.212 MB / 4.11 GB, free: 122.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/11.87, allocations: 223.3 kB / 4.11 GB, free: 122.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008465/11.87, allocations: 212.6 kB / 4.11 GB, free: 122.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/11.87, allocations: 10.75 kB / 4.11 GB, free: 122.5 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006237/11.88, allocations: 2.774 MB / 4.113 GB, free: 122.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/11.88, allocations: 34.2 kB / 4.113 GB, free: 122.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009643/11.88, allocations: 349.5 kB / 4.113 GB, free: 122.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/11.88, allocations: 0.624 MB / 4.114 GB, free: 122.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/11.89, allocations: 2.522 MB / 4.116 GB, free: 120.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004701/11.89, allocations: 219.9 kB / 4.117 GB, free: 120.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007079/11.89, allocations: 207.8 kB / 4.117 GB, free: 120.4 MB / 1.214 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 () * 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.001314/11.89, allocations: 241.2 kB / 4.117 GB, free: 120.2 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/11.89, allocations: 443.3 kB / 4.118 GB, free: 120 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008274/11.9, allocations: 2.632 MB / 4.12 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/11.9, allocations: 14.47 kB / 4.12 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/11.9, allocations: 0 / 4.12 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/11.9, allocations: 7.266 kB / 4.12 GB, free: 119.8 MB / 1.214 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.01829/11.92, allocations: 6.041 MB / 4.126 GB, free: 119.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/11.92, allocations: 0 / 4.126 GB, free: 119.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/11.92, allocations: 251.7 kB / 4.126 GB, free: 119.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/11.92, allocations: 379.3 kB / 4.127 GB, free: 119.2 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002198/11.92, allocations: 47.61 kB / 4.127 GB, free: 119.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/11.93, allocations: 4.913 MB / 4.131 GB, free: 114.9 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/11.93, allocations: 3.516 kB / 4.131 GB, free: 114.9 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/11.93, allocations: 2.474 MB / 4.134 GB, free: 114.3 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003698/11.94, allocations: 0.9537 MB / 4.135 GB, free: 113.9 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002201/11.94, allocations: 23.47 kB / 4.135 GB, free: 113.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004294/11.94, allocations: 197 kB / 4.135 GB, free: 113.9 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/11.94, allocations: 87.28 kB / 4.135 GB, free: 113.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000332/11.94, allocations: 83.75 kB / 4.135 GB, free: 113.9 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.009778/11.95, allocations: 3.966 MB / 4.139 GB, free: 113.7 MB / 1.214 GB Notification: Performance of sort global known variables: time 7.71e-07/11.95, allocations: 3 kB / 4.139 GB, free: 113.7 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.01342/11.97, allocations: 2.003 MB / 4.141 GB, free: 113.5 MB / 1.214 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.006681/11.97, allocations: 2.368 MB / 4.143 GB, free: 112.9 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01062/11.98, allocations: 3.842 MB / 4.147 GB, free: 112.9 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/11.98, allocations: 0 / 4.147 GB, free: 112.9 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/11.99, allocations: 0.8727 MB / 4.148 GB, free: 112.8 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01242/12, allocations: 2.158 MB / 4.15 GB, free: 112.8 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/12.02, allocations: 5.753 MB / 4.156 GB, free: 111.4 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005028/12.02, allocations: 2.715 MB / 4.158 GB, free: 110.6 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.01241/12.03, allocations: 2.251 MB / 4.161 GB, free: 110.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/12.04, allocations: 252.6 kB / 4.161 GB, free: 110.6 MB / 1.214 GB Notification: Performance of SimCode: time 1.883e-06/12.04, allocations: 0 / 4.161 GB, free: 110.6 MB / 1.214 GB Notification: Performance of Templates: time 0.2045/12.24, allocations: 119.7 MB / 4.278 GB, free: 104.3 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverStages.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches