Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00173/0.00173, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001934/0.001935, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.89 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9078/0.9093, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.101/1.01, allocations: 103.3 MB / 1.309 GB, free: 6.027 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03038/1.041, allocations: 20.67 MB / 1.329 GB, free: 1.309 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004301/1.045, allocations: 87.56 kB / 1.33 GB, free: 1.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006815/1.052, allocations: 2.294 MB / 1.332 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009051/1.061, allocations: 3.134 MB / 1.335 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006214/1.067, allocations: 2.368 MB / 1.337 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02581/1.093, allocations: 17.36 MB / 1.354 GB, free: 8.035 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00448/1.098, allocations: 1.961 MB / 1.356 GB, free: 6.039 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006845/1.104, allocations: 2.483 MB / 1.358 GB, free: 3.555 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004/1.108, allocations: 1.997 MB / 1.36 GB, free: 1.551 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001153/1.11, allocations: 280 kB / 1.361 GB, free: 1.277 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005615/1.115, allocations: 2.309 MB / 1.363 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001922/1.117, allocations: 1.379 MB / 1.364 GB, free: 13.58 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003797/1.121, allocations: 2.006 MB / 1.366 GB, free: 11.57 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/1.132, allocations: 6.169 MB / 1.372 GB, free: 5.379 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.132, allocations: 8 kB / 1.372 GB, free: 5.371 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.893e-06/1.132, allocations: 0 / 1.372 GB, free: 5.371 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002023/1.133, allocations: 0 / 1.372 GB, free: 5.371 MB / 1.092 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.01438/1.147, allocations: 4.496 MB / 1.377 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.147, allocations: 8.031 kB / 1.377 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00634/1.153, allocations: 1.053 MB / 1.378 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/1.166, allocations: 5.59 MB / 1.383 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/1.166, allocations: 98.33 kB / 1.383 GB, free: 9.949 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005639/1.167, allocations: 140 kB / 1.383 GB, free: 9.812 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/1.172, allocations: 1.956 MB / 1.385 GB, free: 7.781 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/1.172, allocations: 4 kB / 1.385 GB, free: 7.777 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/1.172, allocations: 51.94 kB / 1.385 GB, free: 7.727 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/1.172, allocations: 28 kB / 1.385 GB, free: 7.699 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/1.176, allocations: 1.441 MB / 1.387 GB, free: 6.25 MB / 1.107 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.01629/1.192, allocations: 9.012 MB / 1.396 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/1.196, allocations: 1.24 MB / 1.397 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/1.198, allocations: 0.6662 MB / 1.397 GB, free: 10.75 MB / 1.123 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.006558/1.204, allocations: 3.175 MB / 1.401 GB, free: 7.391 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.204, allocations: 43.12 kB / 1.401 GB, free: 7.34 MB / 1.123 GB Notification: Performance of pre-optimization done (n=61): time 3.386e-06/1.204, allocations: 3.938 kB / 1.401 GB, free: 7.336 MB / 1.123 GB Notification: Performance of matching and sorting (n=61): time 0.007927/1.212, allocations: 2.447 MB / 1.403 GB, free: 4.84 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.212, allocations: 63.95 kB / 1.403 GB, free: 4.762 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009095/1.222, allocations: 4.264 MB / 1.407 GB, free: 492 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003639/1.222, allocations: 45.7 kB / 1.407 GB, free: 440 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/1.224, allocations: 1.506 MB / 1.409 GB, free: 14.91 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004773/1.224, allocations: 228.9 kB / 1.409 GB, free: 14.68 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009452/1.225, allocations: 0.4915 MB / 1.409 GB, free: 14.19 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.225, allocations: 309.1 kB / 1.41 GB, free: 13.88 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/1.228, allocations: 1.559 MB / 1.411 GB, free: 12.32 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/1.231, allocations: 2.194 MB / 1.413 GB, free: 9.867 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005337/1.236, allocations: 3.457 MB / 1.417 GB, free: 6.219 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/1.236, allocations: 7.938 kB / 1.417 GB, free: 6.211 MB / 1.139 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008247/1.245, allocations: 4.445 MB / 1.421 GB, free: 1.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/1.245, allocations: 17.7 kB / 1.421 GB, free: 1.734 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/1.245, allocations: 12 kB / 1.421 GB, free: 1.723 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/1.247, allocations: 0.7633 MB / 1.422 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/1.248, allocations: 371.5 kB / 1.422 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/1.25, allocations: 1.749 MB / 1.424 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/1.253, allocations: 254 kB / 1.424 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004216/1.254, allocations: 112 kB / 1.424 GB, free: 14.43 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004151/1.258, allocations: 2.155 MB / 1.426 GB, free: 12.27 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002928/1.261, allocations: 1.993 MB / 1.428 GB, free: 10.02 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004674/1.266, allocations: 3.06 MB / 1.431 GB, free: 6.766 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.144e-05/1.266, allocations: 8 kB / 1.431 GB, free: 6.758 MB / 1.154 GB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.008189/1.274, allocations: 4.109 MB / 1.435 GB, free: 2.633 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/1.274, allocations: 12.09 kB / 1.435 GB, free: 2.621 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/1.274, allocations: 19.98 kB / 1.435 GB, free: 2.602 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/1.276, allocations: 0.806 MB / 1.436 GB, free: 1.789 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.278, allocations: 359.4 kB / 1.436 GB, free: 1.438 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/1.293, allocations: 11.4 MB / 1.448 GB, free: 5.641 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/1.296, allocations: 211.3 kB / 1.448 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004582/1.297, allocations: 104 kB / 1.448 GB, free: 5.332 MB / 1.17 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.0007419/1.298, allocations: 273.3 kB / 1.448 GB, free: 5.059 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.299, allocations: 323.6 kB / 1.448 GB, free: 4.738 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/1.305, allocations: 2.004 MB / 1.45 GB, free: 2.715 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/1.305, allocations: 11.94 kB / 1.45 GB, free: 2.703 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.305, allocations: 4 kB / 1.45 GB, free: 2.699 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003747/1.308, allocations: 1.749 MB / 1.452 GB, free: 0.875 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/1.319, allocations: 4.098 MB / 1.456 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/1.319, allocations: 0 / 1.456 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.32, allocations: 163.8 kB / 1.456 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007631/1.321, allocations: 329.4 kB / 1.457 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.013e-05/1.321, allocations: 23.97 kB / 1.457 GB, free: 12.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/1.323, allocations: 1.624 MB / 1.458 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.323, allocations: 4.031 kB / 1.458 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006555/1.329, allocations: 2.7 MB / 1.461 GB, free: 7.773 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/1.331, allocations: 0.5707 MB / 1.461 GB, free: 7.18 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.332, allocations: 12 kB / 1.461 GB, free: 7.168 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/1.334, allocations: 91.97 kB / 1.462 GB, free: 7.078 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.334, allocations: 44.59 kB / 1.462 GB, free: 7.035 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.334, allocations: 39.97 kB / 1.462 GB, free: 6.996 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.005883/1.34, allocations: 2.925 MB / 1.464 GB, free: 4.062 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.31e-07/1.34, allocations: 0 / 1.464 GB, free: 4.062 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.005978/1.346, allocations: 1.564 MB / 1.466 GB, free: 2.496 MB / 1.186 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.001966/1.348, allocations: 0.7513 MB / 1.467 GB, free: 1.742 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008511/1.357, allocations: 4.461 MB / 1.471 GB, free: 13.25 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.357, allocations: 0 / 1.471 GB, free: 13.25 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.358, allocations: 0.6406 MB / 1.472 GB, free: 12.61 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007486/1.366, allocations: 1.81 MB / 1.473 GB, free: 10.84 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/1.377, allocations: 5.772 MB / 1.479 GB, free: 5.035 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/1.379, allocations: 2.147 MB / 1.481 GB, free: 2.863 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.38, allocations: 263.3 kB / 1.481 GB, free: 2.605 MB / 1.201 GB Notification: Performance of SimCode: time 9.22e-07/1.38, allocations: 0 / 1.481 GB, free: 2.605 MB / 1.201 GB Notification: Performance of Templates: time 0.7615/2.141, allocations: 89.35 MB / 1.569 GB, free: 337.1 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches