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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007905/0.007905, allocations: 102 kB / 15.73 MB, free: 6.051 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.001715/0.001715, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8287, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.1104/0.9391, allocations: 101.6 MB / 1.187 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02766/0.9668, allocations: 18.44 MB / 1.205 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004358/0.9712, allocations: 87.25 kB / 1.205 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004575/0.9758, allocations: 1.343 MB / 1.207 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.9861, allocations: 2.872 MB / 1.209 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006924/0.9931, allocations: 2.264 MB / 1.212 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01055/1.004, allocations: 5.501 MB / 1.217 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/1.007, allocations: 1.911 MB / 1.219 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006489/1.014, allocations: 2.24 MB / 1.221 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003736/1.017, allocations: 1.743 MB / 1.223 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005461/1.018, allocations: 237.2 kB / 1.223 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004743/1.023, allocations: 2.015 MB / 1.225 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/1.024, allocations: 0.9951 MB / 1.226 GB, free: 20 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002149/1.026, allocations: 1.548 MB / 1.227 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006516/1.032, allocations: 4.877 MB / 1.232 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.032, allocations: 0 / 1.232 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/1.032, allocations: 4 kB / 1.232 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.892e-05/1.032, allocations: 0 / 1.232 GB, free: 10.17 MB / 0.9669 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.006159/1.039, allocations: 3.548 MB / 1.236 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/1.039, allocations: 12.03 kB / 1.236 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/1.043, allocations: 0.7387 MB / 1.236 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005607/1.048, allocations: 3.141 MB / 1.239 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/1.048, allocations: 102.2 kB / 1.24 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/1.049, allocations: 136 kB / 1.24 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/1.052, allocations: 1.823 MB / 1.241 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/1.052, allocations: 4 kB / 1.241 GB, free: 468 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/1.052, allocations: 44 kB / 1.241 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/1.052, allocations: 32 kB / 1.242 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/1.056, allocations: 1.39 MB / 1.243 GB, free: 14.98 MB / 0.9825 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.01152/1.067, allocations: 8.384 MB / 1.251 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/1.071, allocations: 1.167 MB / 1.252 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/1.073, allocations: 0.6515 MB / 1.253 GB, free: 4.199 MB / 0.9825 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.004312/1.077, allocations: 2.842 MB / 1.256 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/1.077, allocations: 39.12 kB / 1.256 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=55): time 2.214e-06/1.077, allocations: 3.938 kB / 1.256 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55): time 0.007545/1.084, allocations: 2.408 MB / 1.258 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/1.085, allocations: 59.95 kB / 1.258 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003853/1.088, allocations: 2.903 MB / 1.261 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/1.089, allocations: 49.69 kB / 1.261 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.09, allocations: 1.202 MB / 1.262 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/1.09, allocations: 197.2 kB / 1.262 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/1.09, allocations: 286.4 kB / 1.263 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.091, allocations: 357.9 kB / 1.263 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/1.093, allocations: 1.008 MB / 1.264 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/1.095, allocations: 1.535 MB / 1.265 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/1.099, allocations: 2.445 MB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.099, allocations: 7.938 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005929/1.105, allocations: 2.994 MB / 1.271 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.105, allocations: 12 kB / 1.271 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/1.105, allocations: 16 kB / 1.271 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/1.107, allocations: 0.5876 MB / 1.271 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.108, allocations: 279.5 kB / 1.272 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/1.109, allocations: 1.592 MB / 1.273 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/1.112, allocations: 202.7 kB / 1.273 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.112, allocations: 104 kB / 1.273 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002587/1.115, allocations: 1.369 MB / 1.275 GB, free: 12.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001902/1.116, allocations: 1.34 MB / 1.276 GB, free: 11.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00334/1.12, allocations: 2.066 MB / 1.278 GB, free: 9.039 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.988e-06/1.12, allocations: 8 kB / 1.278 GB, free: 9.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.005517/1.125, allocations: 2.659 MB / 1.281 GB, free: 6.355 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.125, allocations: 12 kB / 1.281 GB, free: 6.344 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/1.125, allocations: 16 kB / 1.281 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/1.127, allocations: 0.6889 MB / 1.281 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.128, allocations: 259.6 kB / 1.282 GB, free: 5.379 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/1.14, allocations: 9.428 MB / 1.291 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.143, allocations: 155.1 kB / 1.291 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/1.143, allocations: 91.97 kB / 1.291 GB, free: 11.32 MB / 1.029 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0004327/1.143, allocations: 255.8 kB / 1.291 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006789/1.144, allocations: 240.8 kB / 1.292 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/1.149, allocations: 1.881 MB / 1.293 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.149, allocations: 4 kB / 1.293 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/1.149, allocations: 4 kB / 1.293 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003793/1.153, allocations: 1.701 MB / 1.295 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007916/1.161, allocations: 3.583 MB / 1.299 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.161, allocations: 4 kB / 1.299 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009713/1.162, allocations: 163.8 kB / 1.299 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007152/1.162, allocations: 297.3 kB / 1.299 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/1.162, allocations: 19.98 kB / 1.299 GB, free: 2.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/1.164, allocations: 1.495 MB / 1.3 GB, free: 1.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.164, allocations: 0 / 1.3 GB, free: 1.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006175/1.17, allocations: 2.538 MB / 1.303 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.171, allocations: 449.7 kB / 1.303 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005862/1.172, allocations: 19.97 kB / 1.303 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/1.173, allocations: 91.97 kB / 1.304 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.173, allocations: 44.5 kB / 1.304 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.174, allocations: 35.97 kB / 1.304 GB, free: 14.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003673/1.177, allocations: 2.019 MB / 1.306 GB, free: 12.21 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.177, allocations: 3.938 kB / 1.306 GB, free: 12.21 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004811/1.182, allocations: 1.247 MB / 1.307 GB, free: 10.96 MB / 1.045 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 (54): * Single equations (assignments): 47 * 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.001704/1.184, allocations: 0.598 MB / 1.307 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007306/1.191, allocations: 3.263 MB / 1.311 GB, free: 7.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.191, allocations: 0.9375 kB / 1.311 GB, free: 7.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/1.193, allocations: 0.6436 MB / 1.311 GB, free: 6.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006182/1.199, allocations: 1.332 MB / 1.312 GB, free: 5.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/1.208, allocations: 4.36 MB / 1.317 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/1.209, allocations: 1.78 MB / 1.318 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002355/1.212, allocations: 0.5757 MB / 1.319 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005662/1.212, allocations: 187.3 kB / 1.319 GB, free: 14.14 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/1.212, allocations: 0 / 1.319 GB, free: 14.14 MB / 1.061 GB Notification: Performance of Templates: time 0.09279/1.305, allocations: 60.51 MB / 1.378 GB, free: 2.406 MB / 1.107 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches