Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.003/2.003, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001072/0.001073, allocations: 175.6 kB / 487.4 MB, free: 5.082 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.335/1.335, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008824/0.0008823, allocations: 91.91 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.783e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.256, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.293, allocations: 434.3 MB / 1.63 GB, free: 4.359 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/1.293, allocations: 91.69 kB / 1.63 GB, free: 4.312 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.475/3.769, allocations: 0.6822 GB / 2.312 GB, free: 247.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.333e-06/3.769, allocations: 0 / 2.312 GB, free: 247.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003068/3.769, allocations: 46.72 kB / 2.312 GB, free: 247.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00479/3.774, allocations: 1.879 MB / 2.314 GB, free: 246.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/3.774, allocations: 11.31 kB / 2.314 GB, free: 246.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/3.778, allocations: 0.7109 MB / 2.315 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02802/3.806, allocations: 14.27 MB / 2.329 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/3.806, allocations: 38 kB / 2.329 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004308/3.807, allocations: 65.41 kB / 2.329 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00201/3.809, allocations: 0.8787 MB / 2.33 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/3.811, allocations: 1.06 MB / 2.331 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/3.811, allocations: 0 / 2.331 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/3.811, allocations: 3.969 kB / 2.331 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/3.811, allocations: 44.34 kB / 2.331 GB, free: 245.4 MB / 1.151 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.008607/3.82, allocations: 5.587 MB / 2.336 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/3.821, allocations: 0.8611 MB / 2.337 GB, free: 242.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/3.821, allocations: 383.2 kB / 2.338 GB, free: 242.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003565/3.825, allocations: 2.34 MB / 2.34 GB, free: 241.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/3.825, allocations: 42.28 kB / 2.34 GB, free: 241.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007115/3.826, allocations: 106.4 kB / 2.34 GB, free: 241.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 3.406e-06/3.826, allocations: 0 / 2.34 GB, free: 241.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.003361/3.829, allocations: 1.16 MB / 2.341 GB, free: 241.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/3.829, allocations: 63.31 kB / 2.341 GB, free: 241.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/3.831, allocations: 1.153 MB / 2.342 GB, free: 241 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-05/3.831, allocations: 29.33 kB / 2.342 GB, free: 241 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/3.832, allocations: 0.7724 MB / 2.343 GB, free: 240.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/3.832, allocations: 225.2 kB / 2.343 GB, free: 240.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/3.832, allocations: 2.688 kB / 2.343 GB, free: 240.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.422e-05/3.832, allocations: 343.7 kB / 2.344 GB, free: 240.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/3.832, allocations: 347.2 kB / 2.344 GB, free: 240.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/3.833, allocations: 0.6796 MB / 2.345 GB, free: 239.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/3.834, allocations: 0.5211 MB / 2.345 GB, free: 239.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/3.834, allocations: 3.969 kB / 2.345 GB, free: 239.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002636/3.837, allocations: 1.326 MB / 2.346 GB, free: 239.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006675/3.838, allocations: 3.335 MB / 2.35 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/3.838, allocations: 15.42 kB / 2.35 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/3.838, allocations: 275.7 kB / 2.35 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/3.839, allocations: 237 kB / 2.35 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/3.841, allocations: 1.532 MB / 2.352 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/3.842, allocations: 84.92 kB / 2.352 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/3.842, allocations: 69.33 kB / 2.352 GB, free: 235.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/3.842, allocations: 6.438 kB / 2.352 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002403/3.844, allocations: 1.081 MB / 2.353 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/3.844, allocations: 7.906 kB / 2.353 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006867/3.845, allocations: 295.1 kB / 2.353 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/3.846, allocations: 223.7 kB / 2.353 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/3.851, allocations: 3.817 MB / 2.357 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/3.852, allocations: 85 kB / 2.357 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/3.853, allocations: 57.17 kB / 2.357 GB, free: 232.9 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac1.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: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000342/3.853, allocations: 137.1 kB / 2.357 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/3.853, allocations: 162 kB / 2.358 GB, free: 232.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/3.857, allocations: 1.37 MB / 2.359 GB, free: 232.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/3.857, allocations: 10.78 kB / 2.359 GB, free: 232.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/3.857, allocations: 3.953 kB / 2.359 GB, free: 232.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/3.857, allocations: 6.609 kB / 2.359 GB, free: 232.6 MB / 1.151 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.005267/3.862, allocations: 2.517 MB / 2.361 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/3.862, allocations: 7.625 kB / 2.361 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/3.863, allocations: 138.7 kB / 2.362 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/3.863, allocations: 209.4 kB / 2.362 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/3.863, allocations: 18.45 kB / 2.362 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009085/3.864, allocations: 1.371 MB / 2.363 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/3.864, allocations: 9.891 kB / 2.363 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/3.867, allocations: 1.716 MB / 2.365 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/3.868, allocations: 334.9 kB / 2.365 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/3.868, allocations: 7.125 kB / 2.365 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/3.869, allocations: 94.94 kB / 2.365 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/3.869, allocations: 53 kB / 2.365 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/3.869, allocations: 40.19 kB / 2.365 GB, free: 230.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001277/3.871, allocations: 0.8734 MB / 2.366 GB, free: 230.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/3.871, allocations: 0 / 2.366 GB, free: 230.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003818/3.874, allocations: 0.9915 MB / 2.367 GB, free: 230.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002435/3.877, allocations: 1.246 MB / 2.368 GB, free: 230 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002722/3.88, allocations: 1.618 MB / 2.37 GB, free: 229.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/3.88, allocations: 224 / 2.37 GB, free: 229.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006804/3.88, allocations: 443.7 kB / 2.37 GB, free: 229.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/3.883, allocations: 0.6498 MB / 2.371 GB, free: 229.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/3.887, allocations: 2.098 MB / 2.373 GB, free: 228.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009518/3.888, allocations: 1.401 MB / 2.374 GB, free: 227.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00237/3.89, allocations: 0.5589 MB / 2.375 GB, free: 227.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/3.891, allocations: 100.1 kB / 2.375 GB, free: 227.8 MB / 1.151 GB Notification: Performance of SimCode: time 9.02e-07/3.891, allocations: 3.156 kB / 2.375 GB, free: 227.8 MB / 1.151 GB Notification: Performance of Templates: time 0.06049/3.951, allocations: 39.19 MB / 2.413 GB, free: 219.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches