Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Movers.Validation.Pump_stratos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 110.6 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.84 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8657/0.8671, allocations: 151.6 MB / 1.167 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.1005/0.9676, allocations: 103.3 MB / 1.268 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0308/0.9985, allocations: 20.66 MB / 1.288 GB, free: 7.691 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004626/1.003, allocations: 87.56 kB / 1.288 GB, free: 7.605 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007133/1.01, allocations: 2.335 MB / 1.291 GB, free: 5.262 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009568/1.02, allocations: 3.249 MB / 1.294 GB, free: 2 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006531/1.026, allocations: 2.381 MB / 1.296 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02486/1.051, allocations: 17.36 MB / 1.313 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003548/1.055, allocations: 1.961 MB / 1.315 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006272/1.061, allocations: 2.489 MB / 1.317 GB, free: 9.762 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003781/1.065, allocations: 2.001 MB / 1.319 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006465/1.066, allocations: 280 kB / 1.32 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/1.071, allocations: 2.305 MB / 1.322 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00133/1.072, allocations: 1.375 MB / 1.323 GB, free: 3.793 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002644/1.075, allocations: 2.01 MB / 1.325 GB, free: 1.773 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00912/1.084, allocations: 6.173 MB / 1.331 GB, free: 11.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/1.084, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.495e-06/1.084, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001341/1.084, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.009971/1.094, allocations: 4.496 MB / 1.336 GB, free: 7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.094, allocations: 8.922 kB / 1.336 GB, free: 6.992 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005664/1.1, allocations: 1.049 MB / 1.337 GB, free: 5.938 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/1.112, allocations: 5.597 MB / 1.342 GB, free: 264 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/1.113, allocations: 102.3 kB / 1.342 GB, free: 160 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/1.113, allocations: 144 kB / 1.342 GB, free: 16 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/1.116, allocations: 1.96 MB / 1.344 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/1.116, allocations: 0 / 1.344 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/1.116, allocations: 51.94 kB / 1.344 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/1.117, allocations: 28 kB / 1.344 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/1.12, allocations: 1.433 MB / 1.346 GB, free: 12.46 MB / 1.076 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.01339/1.133, allocations: 9.007 MB / 1.355 GB, free: 2.895 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/1.137, allocations: 1.254 MB / 1.356 GB, free: 1.629 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/1.138, allocations: 0.6633 MB / 1.356 GB, free: 0.9648 MB / 1.076 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 evalFunc (simulation): time 0.005614/1.144, allocations: 3.156 MB / 1.36 GB, free: 13.62 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/1.144, allocations: 43.11 kB / 1.36 GB, free: 13.57 MB / 1.092 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/1.144, allocations: 0 / 1.36 GB, free: 13.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=61): time 0.007114/1.151, allocations: 2.454 MB / 1.362 GB, free: 11.06 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.151, allocations: 59.97 kB / 1.362 GB, free: 10.99 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006498/1.158, allocations: 4.264 MB / 1.366 GB, free: 6.711 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000332/1.158, allocations: 53.69 kB / 1.366 GB, free: 6.652 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/1.159, allocations: 1.506 MB / 1.368 GB, free: 5.133 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/1.16, allocations: 224.9 kB / 1.368 GB, free: 4.91 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008462/1.161, allocations: 0.4954 MB / 1.368 GB, free: 4.406 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.161, allocations: 301.1 kB / 1.369 GB, free: 4.109 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/1.163, allocations: 1.555 MB / 1.37 GB, free: 2.551 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/1.166, allocations: 2.196 MB / 1.372 GB, free: 104 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/1.171, allocations: 3.461 MB / 1.376 GB, free: 12.45 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/1.171, allocations: 7.938 kB / 1.376 GB, free: 12.44 MB / 1.107 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008824/1.18, allocations: 4.445 MB / 1.38 GB, free: 7.977 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/1.18, allocations: 12 kB / 1.38 GB, free: 7.965 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/1.18, allocations: 12 kB / 1.38 GB, free: 7.953 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/1.182, allocations: 0.767 MB / 1.381 GB, free: 7.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.184, allocations: 371.5 kB / 1.381 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/1.186, allocations: 1.753 MB / 1.383 GB, free: 5.012 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/1.189, allocations: 254.5 kB / 1.383 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/1.189, allocations: 112 kB / 1.383 GB, free: 4.652 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003841/1.193, allocations: 2.163 MB / 1.385 GB, free: 2.48 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002769/1.196, allocations: 1.989 MB / 1.387 GB, free: 244 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004411/1.2, allocations: 3.061 MB / 1.39 GB, free: 12.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.267e-06/1.2, allocations: 4 kB / 1.39 GB, free: 12.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.007727/1.208, allocations: 4.127 MB / 1.394 GB, free: 8.832 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/1.208, allocations: 12 kB / 1.394 GB, free: 8.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/1.208, allocations: 12 kB / 1.394 GB, free: 8.809 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/1.21, allocations: 0.7985 MB / 1.395 GB, free: 8.004 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/1.212, allocations: 359.4 kB / 1.396 GB, free: 7.652 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/1.227, allocations: 11.42 MB / 1.407 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/1.23, allocations: 210.8 kB / 1.407 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/1.231, allocations: 99.97 kB / 1.407 GB, free: 11.54 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 176 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005586/1.231, allocations: 277.3 kB / 1.407 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.232, allocations: 323.6 kB / 1.408 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004903/1.237, allocations: 1.996 MB / 1.41 GB, free: 8.926 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/1.237, allocations: 11.94 kB / 1.41 GB, free: 8.914 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/1.237, allocations: 4 kB / 1.41 GB, free: 8.91 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003438/1.241, allocations: 1.753 MB / 1.411 GB, free: 7.082 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009093/1.25, allocations: 4.102 MB / 1.415 GB, free: 2.906 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/1.25, allocations: 0 / 1.415 GB, free: 2.906 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/1.251, allocations: 167.8 kB / 1.415 GB, free: 2.742 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007372/1.252, allocations: 337.3 kB / 1.416 GB, free: 2.406 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/1.252, allocations: 23.97 kB / 1.416 GB, free: 2.383 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/1.253, allocations: 1.616 MB / 1.417 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.253, allocations: 4.031 kB / 1.417 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006217/1.259, allocations: 2.704 MB / 1.42 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/1.261, allocations: 0.5668 MB / 1.421 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007465/1.262, allocations: 15.98 kB / 1.421 GB, free: 13.37 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.264, allocations: 91.97 kB / 1.421 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/1.264, allocations: 44.59 kB / 1.421 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.746e-05/1.264, allocations: 39.97 kB / 1.421 GB, free: 13.2 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.005333/1.269, allocations: 2.921 MB / 1.424 GB, free: 10.27 MB / 1.154 GB Notification: Performance of sort global known variables: time 7.62e-07/1.269, allocations: 0 / 1.424 GB, free: 10.27 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005708/1.275, allocations: 1.568 MB / 1.425 GB, free: 8.695 MB / 1.154 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00233/1.277, allocations: 0.748 MB / 1.426 GB, free: 7.945 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.288, allocations: 4.451 MB / 1.43 GB, free: 3.477 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.288, allocations: 0 / 1.43 GB, free: 3.477 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/1.29, allocations: 0.6492 MB / 1.431 GB, free: 2.828 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007655/1.297, allocations: 1.81 MB / 1.433 GB, free: 1.059 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.309, allocations: 5.766 MB / 1.438 GB, free: 11.25 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/1.311, allocations: 2.143 MB / 1.44 GB, free: 9.074 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/1.313, allocations: 263.3 kB / 1.441 GB, free: 8.82 MB / 1.17 GB Notification: Performance of SimCode: time 2.064e-06/1.313, allocations: 0 / 1.441 GB, free: 8.82 MB / 1.17 GB Notification: Performance of Templates: time 0.1341/1.447, allocations: 89.36 MB / 1.528 GB, free: 15.91 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches