Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.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.Validation.Pump_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos") translateModel(Buildings.Fluid.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.108/2.108, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.0009836/0.0009836, allocations: 196.5 kB / 487.4 MB, free: 5.055 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.315/1.315, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.0008839/0.0008836, allocations: 95.73 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.596e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2276, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.483/4.711, allocations: 2.19 GB / 3.396 GB, free: 134.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/4.711, allocations: 88.86 kB / 3.396 GB, free: 134.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.82/7.531, allocations: 0.8782 GB / 4.274 GB, free: 134.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.914e-06/7.531, allocations: 3.938 kB / 4.274 GB, free: 134.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000477/7.531, allocations: 61.31 kB / 4.274 GB, free: 134.7 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.006765/7.538, allocations: 2.523 MB / 4.277 GB, free: 132.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/7.538, allocations: 8.031 kB / 4.277 GB, free: 132.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004475/7.543, allocations: 0.7326 MB / 4.277 GB, free: 131.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03461/7.577, allocations: 17.74 MB / 4.295 GB, free: 113.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.787e-05/7.578, allocations: 44 kB / 4.295 GB, free: 113.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005964/7.578, allocations: 80 kB / 4.295 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002594/7.581, allocations: 1.243 MB / 4.296 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/7.584, allocations: 1.394 MB / 4.297 GB, free: 110.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/7.584, allocations: 0 / 4.297 GB, free: 110.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/7.584, allocations: 0 / 4.297 GB, free: 110.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/7.584, allocations: 35.98 kB / 4.297 GB, free: 110.8 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.01245/7.597, allocations: 8.282 MB / 4.305 GB, free: 102 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/7.598, allocations: 1.24 MB / 4.307 GB, free: 100.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/7.599, allocations: 0.6566 MB / 4.307 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004897/7.604, allocations: 3.095 MB / 4.31 GB, free: 96.81 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/7.604, allocations: 43.06 kB / 4.31 GB, free: 96.76 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001271/7.605, allocations: 103.1 kB / 4.31 GB, free: 96.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 4.699e-06/7.605, allocations: 0 / 4.31 GB, free: 96.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.003618/7.609, allocations: 1.719 MB / 4.312 GB, free: 94.92 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/7.609, allocations: 59.97 kB / 4.312 GB, free: 94.85 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005003/7.614, allocations: 2.734 MB / 4.315 GB, free: 92.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002881/7.614, allocations: 29.7 kB / 4.315 GB, free: 92.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/7.616, allocations: 1.226 MB / 4.316 GB, free: 90.84 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/7.616, allocations: 204.9 kB / 4.316 GB, free: 90.64 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/7.616, allocations: 4 kB / 4.316 GB, free: 90.63 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/7.616, allocations: 349.9 kB / 4.317 GB, free: 90.29 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/7.617, allocations: 0.5883 MB / 4.317 GB, free: 89.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000911/7.618, allocations: 1.158 MB / 4.318 GB, free: 88.27 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/7.62, allocations: 0.8142 MB / 4.319 GB, free: 87.46 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/7.62, allocations: 8 kB / 4.319 GB, free: 87.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004005/7.624, allocations: 2.162 MB / 4.321 GB, free: 85.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0011/7.625, allocations: 6.198 MB / 4.327 GB, free: 78.63 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/7.625, allocations: 12 kB / 4.327 GB, free: 78.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009193/7.626, allocations: 472.9 kB / 4.328 GB, free: 78.15 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/7.627, allocations: 251.6 kB / 4.328 GB, free: 77.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/7.628, allocations: 2.536 MB / 4.33 GB, free: 75.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/7.631, allocations: 123.9 kB / 4.331 GB, free: 75.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/7.631, allocations: 128 kB / 4.331 GB, free: 75.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/7.631, allocations: 4.781 kB / 4.331 GB, free: 75.04 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003342/7.634, allocations: 1.691 MB / 4.332 GB, free: 73.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/7.634, allocations: 12.38 kB / 4.332 GB, free: 73.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/7.636, allocations: 0.5521 MB / 4.333 GB, free: 72.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/7.636, allocations: 243.6 kB / 4.333 GB, free: 72.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008776/7.645, allocations: 7.718 MB / 4.341 GB, free: 64.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/7.647, allocations: 123.7 kB / 4.341 GB, free: 64.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/7.648, allocations: 104 kB / 4.341 GB, free: 64.26 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005491/7.648, allocations: 151.9 kB / 4.341 GB, free: 64.11 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/7.649, allocations: 244.8 kB / 4.341 GB, free: 63.86 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/7.653, allocations: 1.548 MB / 4.343 GB, free: 62.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/7.653, allocations: 8 kB / 4.343 GB, free: 62.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/7.653, allocations: 0 / 4.343 GB, free: 62.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001853/7.655, allocations: 1.337 MB / 4.344 GB, free: 60.89 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.007419/7.662, allocations: 3.656 MB / 4.348 GB, free: 57.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/7.662, allocations: 4 kB / 4.348 GB, free: 57.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/7.663, allocations: 135.9 kB / 4.348 GB, free: 57.01 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/7.663, allocations: 226.4 kB / 4.348 GB, free: 56.78 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/7.663, allocations: 15.98 kB / 4.348 GB, free: 56.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/7.664, allocations: 1.998 MB / 4.35 GB, free: 54.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/7.664, allocations: 8.016 kB / 4.35 GB, free: 54.69 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/7.668, allocations: 2.066 MB / 4.352 GB, free: 52.57 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/7.669, allocations: 0.5601 MB / 4.353 GB, free: 51.99 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007598/7.67, allocations: 7.953 kB / 4.353 GB, free: 51.98 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/7.672, allocations: 119.8 kB / 4.353 GB, free: 51.87 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/7.672, allocations: 44.72 kB / 4.353 GB, free: 51.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.766e-05/7.672, allocations: 47.97 kB / 4.353 GB, free: 51.77 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003681/7.676, allocations: 2.059 MB / 4.355 GB, free: 49.71 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.2e-07/7.676, allocations: 4 kB / 4.355 GB, free: 49.71 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005645/7.681, allocations: 1.326 MB / 4.356 GB, free: 48.38 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002757/7.684, allocations: 1.327 MB / 4.357 GB, free: 47.17 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003653/7.688, allocations: 2.452 MB / 4.36 GB, free: 44.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/7.688, allocations: 0 / 4.36 GB, free: 44.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007216/7.689, allocations: 472 kB / 4.36 GB, free: 44.24 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005398/7.694, allocations: 1.199 MB / 4.361 GB, free: 43.08 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006524/7.701, allocations: 3.216 MB / 4.364 GB, free: 39.82 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/7.702, allocations: 1.845 MB / 4.366 GB, free: 37.94 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005039/7.707, allocations: 1.224 MB / 4.367 GB, free: 36.73 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/7.708, allocations: 147.4 kB / 4.368 GB, free: 36.58 MB / 1.151 GB Notification: Performance of SimCode: time 8.72e-07/7.708, allocations: 0 / 4.368 GB, free: 36.58 MB / 1.151 GB Notification: Performance of Templates: time 0.7326/8.44, allocations: 62.34 MB / 4.429 GB, free: 210.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches