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.389/2.389, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001133/0.001133, allocations: 175 kB / 498.1 MB, free: 5.738 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.78/1.78, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001059/0.001059, allocations: 100.3 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004079, allocations: 13.72 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3735, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.644, allocations: 445.4 MB / 1.658 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.644, allocations: 102.8 kB / 1.658 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 8.904/10.55, allocations: 2.369 GB / 4.027 GB, free: 80.48 MB / 1.198 GB Notification: Performance of FrontEnd: time 4.208e-06/10.55, allocations: 0 / 4.027 GB, free: 80.48 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001257/10.55, allocations: 108 kB / 4.027 GB, free: 80.38 MB / 1.198 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.02916/10.58, allocations: 7.846 MB / 4.035 GB, free: 72.44 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/10.58, allocations: 16.02 kB / 4.035 GB, free: 72.42 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/10.59, allocations: 1.543 MB / 4.036 GB, free: 70.87 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07284/10.66, allocations: 31.93 MB / 4.068 GB, free: 38.82 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/10.66, allocations: 180.8 kB / 4.068 GB, free: 38.64 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/10.66, allocations: 236 kB / 4.068 GB, free: 38.41 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009234/10.67, allocations: 3.014 MB / 4.071 GB, free: 35.24 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.787e-05/10.67, allocations: 0 / 4.071 GB, free: 35.24 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005505/10.67, allocations: 84 kB / 4.071 GB, free: 35.16 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/10.67, allocations: 56 kB / 4.071 GB, free: 35.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005416/10.68, allocations: 2.291 MB / 4.073 GB, free: 32.81 MB / 1.198 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.02572/10.71, allocations: 13.49 MB / 4.086 GB, free: 18.79 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005295/10.71, allocations: 1.855 MB / 4.088 GB, free: 16.93 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/10.72, allocations: 5.329 MB / 4.093 GB, free: 11.28 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002612/10.73, allocations: 1.32 MB / 4.095 GB, free: 9.949 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002947/10.73, allocations: 226.1 kB / 4.095 GB, free: 9.727 MB / 1.198 GB Notification: Performance of pre-optimization done (n=92): time 8.867e-06/10.73, allocations: 0 / 4.095 GB, free: 9.727 MB / 1.198 GB Notification: Performance of matching and sorting (n=92): time 0.01271/10.74, allocations: 3.684 MB / 4.099 GB, free: 5.945 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/10.74, allocations: 119.8 kB / 4.099 GB, free: 5.801 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/10.75, allocations: 5.291 MB / 4.104 GB, free: 0.5352 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008592/10.76, allocations: 61.7 kB / 4.104 GB, free: 480 kB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004251/10.76, allocations: 2.153 MB / 4.106 GB, free: 14.29 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/10.76, allocations: 323.4 kB / 4.106 GB, free: 13.97 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005825/10.76, allocations: 39.98 kB / 4.106 GB, free: 13.93 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003729/10.76, allocations: 390 kB / 4.107 GB, free: 13.55 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003203/10.77, allocations: 0.9526 MB / 4.108 GB, free: 12.59 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004273/10.77, allocations: 2.01 MB / 4.11 GB, free: 10.07 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/10.77, allocations: 1.16 MB / 4.111 GB, free: 8.918 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.519e-05/10.77, allocations: 8 kB / 4.111 GB, free: 8.91 MB / 1.214 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.0109/10.78, allocations: 3.364 MB / 4.114 GB, free: 5.52 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.008172/10.79, allocations: 13.78 MB / 4.127 GB, free: 6.613 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/10.79, allocations: 28 kB / 4.127 GB, free: 6.586 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/10.79, allocations: 394.3 kB / 4.128 GB, free: 6.199 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/10.8, allocations: 0.5811 MB / 4.128 GB, free: 5.617 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/10.8, allocations: 5.263 MB / 4.134 GB, free: 164 kB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.9677/11.77, allocations: 220.9 kB / 4.134 GB, free: 168 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/11.77, allocations: 215 kB / 4.134 GB, free: 168 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/11.77, allocations: 5.812 kB / 4.134 GB, free: 168 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01355/11.79, allocations: 3.064 MB / 4.137 GB, free: 168 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/11.79, allocations: 35.17 kB / 4.137 GB, free: 168 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/11.79, allocations: 391.3 kB / 4.137 GB, free: 168 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005358/11.79, allocations: 0.6208 MB / 4.138 GB, free: 168 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/11.8, allocations: 2.568 MB / 4.14 GB, free: 165.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00774/11.81, allocations: 216.8 kB / 4.141 GB, free: 165.9 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/11.81, allocations: 212.2 kB / 4.141 GB, free: 165.9 MB / 1.229 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.006151/11.81, allocations: 1.177 MB / 4.142 GB, free: 165.7 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002361/11.82, allocations: 436.1 kB / 4.142 GB, free: 165.7 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/11.83, allocations: 2.941 MB / 4.145 GB, free: 165.5 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-05/11.83, allocations: 16.12 kB / 4.145 GB, free: 165.5 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/11.83, allocations: 1.859 kB / 4.145 GB, free: 165.5 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.962e-05/11.83, allocations: 8.672 kB / 4.145 GB, free: 165.5 MB / 1.229 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.02431/11.86, allocations: 6.342 MB / 4.152 GB, free: 165.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/11.86, allocations: 1.438 kB / 4.152 GB, free: 165.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/11.86, allocations: 259.1 kB / 4.152 GB, free: 165.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/11.86, allocations: 418.3 kB / 4.152 GB, free: 165.1 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/11.86, allocations: 44.28 kB / 4.152 GB, free: 165.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/11.86, allocations: 4.961 MB / 4.157 GB, free: 160.8 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/11.86, allocations: 1.844 kB / 4.157 GB, free: 160.8 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00854/11.87, allocations: 2.773 MB / 4.16 GB, free: 160.3 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00418/11.88, allocations: 0.9601 MB / 4.161 GB, free: 159.9 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001701/11.88, allocations: 24.47 kB / 4.161 GB, free: 159.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/11.88, allocations: 198.1 kB / 4.161 GB, free: 159.9 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/11.88, allocations: 91.3 kB / 4.161 GB, free: 159.9 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/11.88, allocations: 82.94 kB / 4.161 GB, free: 159.9 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.008937/11.89, allocations: 4.019 MB / 4.165 GB, free: 159.7 MB / 1.229 GB Notification: Performance of sort global known variables: time 9.32e-07/11.89, allocations: 3.672 kB / 4.165 GB, free: 159.7 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.01081/11.9, allocations: 1.999 MB / 4.167 GB, free: 159.7 MB / 1.229 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.005089/11.91, allocations: 2.419 MB / 4.169 GB, free: 159.2 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01049/11.92, allocations: 4.117 MB / 4.173 GB, free: 159.2 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/11.92, allocations: 5.25 kB / 4.173 GB, free: 159.2 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.002685/11.92, allocations: 1.025 MB / 4.174 GB, free: 159.2 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01423/11.93, allocations: 2.145 MB / 4.176 GB, free: 159.1 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/11.96, allocations: 8.483 MB / 4.185 GB, free: 155.7 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/11.96, allocations: 2.702 MB / 4.187 GB, free: 154.9 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.007514/11.97, allocations: 1.239 MB / 4.189 GB, free: 154.9 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/11.97, allocations: 365.2 kB / 4.189 GB, free: 154.9 MB / 1.229 GB Notification: Performance of SimCode: time 1.333e-06/11.97, allocations: 0 / 4.189 GB, free: 154.9 MB / 1.229 GB Notification: Performance of Templates: time 0.2034/12.17, allocations: 106.9 MB / 4.293 GB, free: 149.9 MB / 1.229 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