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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001487/0.001487, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001503/0.001503, allocations: 191 kB / 17.2 MB, free: 5.59 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.702/2.702, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 72.56 kB / 0.9245 GB, free: 16 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7503/0.7523, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.1115/0.8638, allocations: 103.3 MB / 1.184 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03481/0.8986, allocations: 20.65 MB / 1.204 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004095/0.9028, allocations: 95.5 kB / 1.204 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01525/0.9181, allocations: 8.119 MB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009846/0.928, allocations: 3.113 MB / 1.215 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006536/0.9346, allocations: 2.33 MB / 1.217 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01799/0.9526, allocations: 11.87 MB / 1.229 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003573/0.9562, allocations: 1.934 MB / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/0.9622, allocations: 2.44 MB / 1.233 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/0.9656, allocations: 1.894 MB / 1.235 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006717/0.9663, allocations: 272 kB / 1.235 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00524/0.9715, allocations: 2.281 MB / 1.238 GB, free: 256 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.973, allocations: 1.352 MB / 1.239 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002789/0.9758, allocations: 1.986 MB / 1.241 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009195/0.985, allocations: 6.04 MB / 1.247 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9851, allocations: 0 / 1.247 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9851, allocations: 0 / 1.247 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001136/0.9852, allocations: 0 / 1.247 GB, free: 6.84 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.008352/0.9936, allocations: 4.293 MB / 1.251 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9936, allocations: 8.031 kB / 1.251 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/0.9994, allocations: 1.049 MB / 1.252 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/1.01, allocations: 5.308 MB / 1.257 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/1.01, allocations: 102.9 kB / 1.257 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003603/1.011, allocations: 140 kB / 1.257 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003877/1.015, allocations: 1.964 MB / 1.259 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/1.015, allocations: 7.875 kB / 1.259 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/1.015, allocations: 48 kB / 1.259 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/1.015, allocations: 32 kB / 1.259 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003696/1.019, allocations: 1.449 MB / 1.261 GB, free: 8.188 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.01412/1.033, allocations: 9.324 MB / 1.27 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/1.037, allocations: 1.267 MB / 1.271 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/1.038, allocations: 0.6767 MB / 1.272 GB, free: 12.29 MB / 0.9981 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.006028/1.044, allocations: 3.18 MB / 1.275 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/1.044, allocations: 39.12 kB / 1.275 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 4.879e-06/1.044, allocations: 3.984 kB / 1.275 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.008068/1.052, allocations: 2.524 MB / 1.277 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/1.053, allocations: 59.97 kB / 1.277 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006865/1.059, allocations: 4.107 MB / 1.281 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000354/1.06, allocations: 45.7 kB / 1.281 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/1.061, allocations: 1.506 MB / 1.283 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/1.062, allocations: 232.9 kB / 1.283 GB, free: 296 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008004/1.063, allocations: 499.4 kB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.063, allocations: 309.1 kB / 1.284 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/1.066, allocations: 1.579 MB / 1.285 GB, free: 13.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/1.069, allocations: 2.208 MB / 1.288 GB, free: 11.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005609/1.075, allocations: 3.5 MB / 1.291 GB, free: 7.754 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/1.075, allocations: 7.938 kB / 1.291 GB, free: 7.746 MB / 1.014 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008285/1.083, allocations: 4.492 MB / 1.295 GB, free: 3.238 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/1.083, allocations: 15.94 kB / 1.295 GB, free: 3.223 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/1.083, allocations: 19.97 kB / 1.295 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/1.085, allocations: 0.7594 MB / 1.296 GB, free: 2.438 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.086, allocations: 383.4 kB / 1.297 GB, free: 2.062 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/1.088, allocations: 1.741 MB / 1.298 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.091, allocations: 270.8 kB / 1.299 GB, free: 4 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/1.091, allocations: 112.1 kB / 1.299 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003867/1.095, allocations: 2.181 MB / 1.301 GB, free: 13.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00301/1.098, allocations: 2.008 MB / 1.303 GB, free: 11.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005044/1.103, allocations: 3.111 MB / 1.306 GB, free: 8.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.236e-05/1.103, allocations: 4 kB / 1.306 GB, free: 8.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.008143/1.111, allocations: 4.143 MB / 1.31 GB, free: 3.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/1.111, allocations: 12 kB / 1.31 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/1.111, allocations: 12 kB / 1.31 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/1.114, allocations: 0.8102 MB / 1.311 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.115, allocations: 367.5 kB / 1.311 GB, free: 2.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/1.131, allocations: 11.41 MB / 1.322 GB, free: 6.977 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/1.134, allocations: 219.6 kB / 1.322 GB, free: 6.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003105/1.134, allocations: 108 kB / 1.322 GB, free: 6.656 MB / 1.045 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.0005232/1.135, allocations: 279.6 kB / 1.323 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000797/1.136, allocations: 323.6 kB / 1.323 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005304/1.141, allocations: 2.063 MB / 1.325 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.141, allocations: 8 kB / 1.325 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/1.141, allocations: 0 / 1.325 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003931/1.145, allocations: 1.784 MB / 1.327 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009214/1.154, allocations: 4.149 MB / 1.331 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.154, allocations: 0 / 1.331 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.155, allocations: 175.8 kB / 1.331 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007503/1.156, allocations: 333.3 kB / 1.331 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.678e-05/1.156, allocations: 27.97 kB / 1.331 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/1.158, allocations: 1.616 MB / 1.333 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.158, allocations: 4.031 kB / 1.333 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006678/1.164, allocations: 2.766 MB / 1.336 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.166, allocations: 0.5629 MB / 1.336 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006731/1.167, allocations: 16 kB / 1.336 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/1.168, allocations: 87.91 kB / 1.336 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.169, allocations: 52.58 kB / 1.336 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.169, allocations: 43.97 kB / 1.336 GB, free: 8.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004992/1.174, allocations: 2.8 MB / 1.339 GB, free: 5.289 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.81e-07/1.174, allocations: 0 / 1.339 GB, free: 5.289 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005146/1.179, allocations: 1.568 MB / 1.341 GB, free: 3.719 MB / 1.061 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.002016/1.181, allocations: 0.7469 MB / 1.341 GB, free: 2.969 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.009438/1.19, allocations: 4.558 MB / 1.346 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.19, allocations: 0.9375 kB / 1.346 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/1.192, allocations: 0.6636 MB / 1.346 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007616/1.2, allocations: 1.812 MB / 1.348 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.211, allocations: 5.87 MB / 1.354 GB, free: 6.047 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/1.213, allocations: 2.147 MB / 1.356 GB, free: 3.875 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.214, allocations: 267.3 kB / 1.356 GB, free: 3.613 MB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/1.215, allocations: 0 / 1.356 GB, free: 3.613 MB / 1.076 GB Notification: Performance of Templates: time 0.1256/1.34, allocations: 89.2 MB / 1.443 GB, free: 10.82 MB / 1.17 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=400 -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