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.44/1.44, allocations: 249.3 MB / 261.8 MB, free: 5.859 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.001066/0.001066, allocations: 174.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008794/0.0008794, allocations: 82.53 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.395e-05/4.396e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2322, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.652/1.885, allocations: 438.5 MB / 1.32 GB, free: 252 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.885, allocations: 88.89 kB / 1.32 GB, free: 252 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.453/10.34, allocations: 2.267 GB / 3.587 GB, free: 66.66 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.643e-06/10.34, allocations: 0 / 3.587 GB, free: 66.66 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00113/10.34, allocations: 108 kB / 3.587 GB, free: 66.64 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.01563/10.35, allocations: 4.023 MB / 3.591 GB, free: 63.77 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/10.35, allocations: 9.5 kB / 3.591 GB, free: 63.77 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008485/10.36, allocations: 1.195 MB / 3.592 GB, free: 63.23 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07398/10.44, allocations: 30.43 MB / 3.622 GB, free: 33.94 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/10.44, allocations: 188 kB / 3.622 GB, free: 33.75 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/10.44, allocations: 244 kB / 3.622 GB, free: 33.52 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008456/10.45, allocations: 2.8 MB / 3.625 GB, free: 30.57 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/10.45, allocations: 0 / 3.625 GB, free: 30.57 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006468/10.45, allocations: 88 kB / 3.625 GB, free: 30.48 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/10.45, allocations: 52.69 kB / 3.625 GB, free: 30.43 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/10.45, allocations: 1.921 MB / 3.627 GB, free: 28.51 MB / 0.9323 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.02187/10.47, allocations: 13.23 MB / 3.64 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/10.48, allocations: 1.458 MB / 3.641 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000843/10.48, allocations: 0.6318 MB / 3.642 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008635/10.49, allocations: 5.266 MB / 3.647 GB, free: 7.074 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/10.49, allocations: 1.138 MB / 3.648 GB, free: 5.922 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002138/10.49, allocations: 226.1 kB / 3.649 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 4.378e-06/10.49, allocations: 0 / 3.649 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.004629/10.49, allocations: 2.005 MB / 3.651 GB, free: 3.664 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/10.49, allocations: 111.6 kB / 3.651 GB, free: 3.531 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00892/10.5, allocations: 5.214 MB / 3.656 GB, free: 14.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00072/10.5, allocations: 69.64 kB / 3.656 GB, free: 14.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002427/10.51, allocations: 2.142 MB / 3.658 GB, free: 12.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006614/10.51, allocations: 323.5 kB / 3.658 GB, free: 11.78 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/10.51, allocations: 32 kB / 3.658 GB, free: 11.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001961/10.51, allocations: 390 kB / 3.659 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/10.51, allocations: 0.7733 MB / 3.659 GB, free: 10.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/10.51, allocations: 1.838 MB / 3.661 GB, free: 8.242 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/10.51, allocations: 0.9944 MB / 3.662 GB, free: 7.242 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/10.51, allocations: 11.94 kB / 3.662 GB, free: 7.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006499/10.52, allocations: 3.009 MB / 3.665 GB, free: 4.195 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.8105/11.33, allocations: 13.75 MB / 3.679 GB, free: 88.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.854e-05/11.33, allocations: 28.59 kB / 3.679 GB, free: 88.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/11.33, allocations: 359.2 kB / 3.679 GB, free: 88.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/11.33, allocations: 0.5468 MB / 3.679 GB, free: 88.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/11.34, allocations: 5.206 MB / 3.684 GB, free: 84.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/11.34, allocations: 191.1 kB / 3.685 GB, free: 84.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006443/11.34, allocations: 218.3 kB / 3.685 GB, free: 84.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/11.34, allocations: 2.844 kB / 3.685 GB, free: 84.47 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005657/11.35, allocations: 2.733 MB / 3.688 GB, free: 84.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.225e-05/11.35, allocations: 29.17 kB / 3.688 GB, free: 84.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009576/11.35, allocations: 364.2 kB / 3.688 GB, free: 84.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/11.35, allocations: 0.5843 MB / 3.689 GB, free: 84.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/11.35, allocations: 2.531 MB / 3.691 GB, free: 82.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/11.36, allocations: 179 kB / 3.691 GB, free: 82.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004906/11.36, allocations: 208.4 kB / 3.691 GB, free: 82.31 MB / 0.948 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.0009483/11.36, allocations: 242.7 kB / 3.692 GB, free: 82.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/11.36, allocations: 432.2 kB / 3.692 GB, free: 82.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008115/11.37, allocations: 2.582 MB / 3.695 GB, free: 82.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/11.37, allocations: 13.28 kB / 3.695 GB, free: 82.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/11.37, allocations: 7.25 kB / 3.695 GB, free: 82.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/11.37, allocations: 6.359 kB / 3.695 GB, free: 82.05 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.01944/11.39, allocations: 5.922 MB / 3.7 GB, free: 81.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/11.39, allocations: 3.891 kB / 3.7 GB, free: 81.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/11.39, allocations: 217 kB / 3.701 GB, free: 81.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009568/11.39, allocations: 384.3 kB / 3.701 GB, free: 81.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/11.39, allocations: 50.67 kB / 3.701 GB, free: 81.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/11.39, allocations: 4.902 MB / 3.706 GB, free: 77.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/11.39, allocations: 4.969 kB / 3.706 GB, free: 77.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005664/11.4, allocations: 2.426 MB / 3.708 GB, free: 76.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003155/11.4, allocations: 0.9482 MB / 3.709 GB, free: 76.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008379/11.4, allocations: 21.34 kB / 3.709 GB, free: 76.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/11.41, allocations: 163.4 kB / 3.709 GB, free: 76.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/11.41, allocations: 89.72 kB / 3.709 GB, free: 76.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/11.41, allocations: 78.34 kB / 3.709 GB, free: 76.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008808/11.42, allocations: 3.951 MB / 3.713 GB, free: 76.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.51e-07/11.42, allocations: 0.7812 kB / 3.713 GB, free: 76.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01062/11.43, allocations: 1.951 MB / 3.715 GB, free: 76.06 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.005189/11.43, allocations: 2.338 MB / 3.717 GB, free: 75.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009352/11.44, allocations: 3.779 MB / 3.721 GB, free: 75.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/11.44, allocations: 2.25 kB / 3.721 GB, free: 75.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/11.44, allocations: 0.8499 MB / 3.722 GB, free: 75.49 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01266/11.46, allocations: 2.163 MB / 3.724 GB, free: 75.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/11.47, allocations: 5.684 MB / 3.73 GB, free: 74.06 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/11.47, allocations: 2.7 MB / 3.732 GB, free: 73.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01045/11.48, allocations: 2.223 MB / 3.734 GB, free: 73.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000774/11.48, allocations: 242.4 kB / 3.735 GB, free: 73.23 MB / 0.948 GB Notification: Performance of SimCode: time 1.973e-06/11.48, allocations: 3.062 kB / 3.735 GB, free: 73.23 MB / 0.948 GB Notification: Performance of Templates: time 0.1961/11.68, allocations: 118.7 MB / 3.851 GB, free: 67.13 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