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.007046/0.007046, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.001426/0.001426, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.515/2.515, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8127/0.814, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.1048/0.9189, allocations: 103.3 MB / 1.267 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02977/0.9487, allocations: 20.65 MB / 1.288 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.952, allocations: 91.5 kB / 1.288 GB, free: 7.445 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006313/0.9583, allocations: 2.308 MB / 1.29 GB, free: 5.133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008164/0.9665, allocations: 3.123 MB / 1.293 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00601/0.9725, allocations: 2.374 MB / 1.295 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0266/0.9991, allocations: 17.36 MB / 1.312 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005461/1.005, allocations: 1.969 MB / 1.314 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006668/1.011, allocations: 2.421 MB / 1.317 GB, free: 9.824 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/1.015, allocations: 2 MB / 1.319 GB, free: 7.816 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001195/1.017, allocations: 280 kB / 1.319 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005734/1.022, allocations: 2.305 MB / 1.321 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001953/1.024, allocations: 1.379 MB / 1.322 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00376/1.028, allocations: 2.006 MB / 1.324 GB, free: 1.836 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/1.039, allocations: 6.196 MB / 1.33 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.039, allocations: 4 kB / 1.33 GB, free: 11.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/1.039, allocations: 0 / 1.33 GB, free: 11.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001884/1.039, allocations: 0 / 1.33 GB, free: 11.61 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.01147/1.05, allocations: 4.636 MB / 1.335 GB, free: 6.887 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.05, allocations: 12.92 kB / 1.335 GB, free: 6.875 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00602/1.056, allocations: 1.067 MB / 1.336 GB, free: 5.805 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/1.068, allocations: 5.628 MB / 1.341 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/1.068, allocations: 102.4 kB / 1.342 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004206/1.068, allocations: 140 kB / 1.342 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/1.072, allocations: 1.949 MB / 1.344 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/1.072, allocations: 7.938 kB / 1.344 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/1.073, allocations: 59.84 kB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/1.073, allocations: 32 kB / 1.344 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00368/1.076, allocations: 1.43 MB / 1.345 GB, free: 12.3 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.01356/1.09, allocations: 9.021 MB / 1.354 GB, free: 2.723 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/1.093, allocations: 1.249 MB / 1.355 GB, free: 1.465 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/1.095, allocations: 0.6742 MB / 1.356 GB, free: 0.7891 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.005288/1.1, allocations: 3.157 MB / 1.359 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.101, allocations: 51.06 kB / 1.359 GB, free: 13.38 MB / 1.092 GB Notification: Performance of pre-optimization done (n=61): time 2.114e-06/1.101, allocations: 0 / 1.359 GB, free: 13.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=61): time 0.007397/1.108, allocations: 2.472 MB / 1.361 GB, free: 10.86 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/1.108, allocations: 59.97 kB / 1.361 GB, free: 10.79 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007103/1.115, allocations: 4.26 MB / 1.366 GB, free: 6.516 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/1.115, allocations: 49.7 kB / 1.366 GB, free: 6.461 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/1.117, allocations: 1.524 MB / 1.367 GB, free: 4.926 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/1.117, allocations: 238 kB / 1.367 GB, free: 4.691 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008559/1.118, allocations: 0.4957 MB / 1.368 GB, free: 4.188 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.118, allocations: 309.1 kB / 1.368 GB, free: 3.883 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/1.121, allocations: 1.551 MB / 1.37 GB, free: 2.328 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/1.124, allocations: 2.193 MB / 1.372 GB, free: 15.88 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005217/1.129, allocations: 3.461 MB / 1.375 GB, free: 12.23 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/1.129, allocations: 11.94 kB / 1.375 GB, free: 12.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.007849/1.137, allocations: 4.458 MB / 1.38 GB, free: 7.742 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/1.137, allocations: 12 kB / 1.38 GB, free: 7.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/1.137, allocations: 12 kB / 1.38 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/1.139, allocations: 0.7633 MB / 1.38 GB, free: 6.949 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.14, allocations: 375.4 kB / 1.381 GB, free: 6.582 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/1.142, allocations: 1.749 MB / 1.382 GB, free: 4.781 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.145, allocations: 267 kB / 1.383 GB, free: 4.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/1.145, allocations: 112 kB / 1.383 GB, free: 4.41 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003758/1.149, allocations: 2.158 MB / 1.385 GB, free: 2.246 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00272/1.152, allocations: 1.993 MB / 1.387 GB, free: 16 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004538/1.156, allocations: 3.068 MB / 1.39 GB, free: 12.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.286e-05/1.156, allocations: 4 kB / 1.39 GB, free: 12.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.007666/1.164, allocations: 4.134 MB / 1.394 GB, free: 8.582 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.164, allocations: 11.94 kB / 1.394 GB, free: 8.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/1.164, allocations: 16 kB / 1.394 GB, free: 8.555 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/1.166, allocations: 0.8019 MB / 1.395 GB, free: 7.746 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/1.168, allocations: 359.5 kB / 1.395 GB, free: 7.395 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/1.183, allocations: 11.42 MB / 1.406 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/1.186, allocations: 219.1 kB / 1.406 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/1.186, allocations: 95.97 kB / 1.406 GB, free: 11.28 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.0005473/1.187, allocations: 275.8 kB / 1.407 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.188, allocations: 341.6 kB / 1.407 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005254/1.193, allocations: 2.004 MB / 1.409 GB, free: 8.641 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/1.193, allocations: 15.92 kB / 1.409 GB, free: 8.625 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.193, allocations: 3.984 kB / 1.409 GB, free: 8.621 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003694/1.197, allocations: 1.741 MB / 1.411 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009798/1.207, allocations: 4.106 MB / 1.415 GB, free: 2.625 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.207, allocations: 0 / 1.415 GB, free: 2.625 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.208, allocations: 159.9 kB / 1.415 GB, free: 2.469 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007913/1.209, allocations: 333.3 kB / 1.415 GB, free: 2.137 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.163e-05/1.209, allocations: 23.97 kB / 1.415 GB, free: 2.113 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/1.21, allocations: 1.62 MB / 1.417 GB, free: 452 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/1.21, allocations: 7.969 kB / 1.417 GB, free: 444 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006412/1.217, allocations: 2.721 MB / 1.419 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.218, allocations: 0.5843 MB / 1.42 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007197/1.219, allocations: 16.06 kB / 1.42 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.221, allocations: 87.91 kB / 1.42 GB, free: 12.97 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.221, allocations: 48.59 kB / 1.42 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.221, allocations: 39.95 kB / 1.42 GB, free: 12.89 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.005497/1.226, allocations: 2.921 MB / 1.423 GB, free: 9.957 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.41e-07/1.226, allocations: 3.938 kB / 1.423 GB, free: 9.953 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00526/1.232, allocations: 1.579 MB / 1.425 GB, free: 8.371 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.002001/1.234, allocations: 0.7534 MB / 1.425 GB, free: 7.617 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008452/1.242, allocations: 4.451 MB / 1.43 GB, free: 3.148 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.242, allocations: 0.875 kB / 1.43 GB, free: 3.148 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/1.244, allocations: 0.6478 MB / 1.43 GB, free: 2.5 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/1.255, allocations: 1.815 MB / 1.432 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/1.267, allocations: 5.71 MB / 1.438 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/1.27, allocations: 2.159 MB / 1.44 GB, free: 8.777 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00358/1.274, allocations: 0.8708 MB / 1.441 GB, free: 7.906 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009028/1.275, allocations: 259.3 kB / 1.441 GB, free: 7.656 MB / 1.17 GB Notification: Performance of SimCode: time 6.81e-07/1.275, allocations: 0 / 1.441 GB, free: 7.656 MB / 1.17 GB Notification: Performance of Templates: time 0.1218/1.397, allocations: 77.56 MB / 1.517 GB, free: 11.03 MB / 1.248 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/jenkins/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