Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.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.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 103.7 kB / 16.41 MB, free: 6.461 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.001768/0.001768, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 68.11 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.895/0.8965, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05899/0.9556, allocations: 51.49 MB / 1.259 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03/0.9856, allocations: 18.17 MB / 1.276 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.9893, allocations: 79.56 kB / 1.276 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006239/0.9956, allocations: 1.901 MB / 1.278 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008029/1.004, allocations: 2.715 MB / 1.281 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005903/1.01, allocations: 2.101 MB / 1.283 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02095/1.031, allocations: 14.08 MB / 1.297 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003506/1.034, allocations: 1.72 MB / 1.298 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005639/1.04, allocations: 1.977 MB / 1.3 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003542/1.043, allocations: 1.51 MB / 1.302 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0009309/1.044, allocations: 212 kB / 1.302 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004745/1.049, allocations: 1.907 MB / 1.304 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/1.05, allocations: 0.8996 MB / 1.305 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0028/1.053, allocations: 1.38 MB / 1.306 GB, free: 9.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008633/1.062, allocations: 4.448 MB / 1.311 GB, free: 4.809 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.062, allocations: 4 kB / 1.311 GB, free: 4.805 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/1.062, allocations: 0 / 1.311 GB, free: 4.805 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001531/1.062, allocations: 0 / 1.311 GB, free: 4.805 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.008649/1.071, allocations: 3.148 MB / 1.314 GB, free: 1.578 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.071, allocations: 12.03 kB / 1.314 GB, free: 1.566 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006039/1.077, allocations: 0.9331 MB / 1.315 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009719/1.087, allocations: 3.523 MB / 1.318 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/1.087, allocations: 89.98 kB / 1.318 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005818/1.087, allocations: 112 kB / 1.318 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004108/1.092, allocations: 1.482 MB / 1.32 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/1.092, allocations: 7.984 kB / 1.32 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/1.092, allocations: 44 kB / 1.32 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/1.092, allocations: 34 kB / 1.32 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003723/1.096, allocations: 1.323 MB / 1.321 GB, free: 9.891 MB / 1.045 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.0126/1.108, allocations: 6.946 MB / 1.328 GB, free: 2.559 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003445/1.112, allocations: 1.13 MB / 1.329 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/1.113, allocations: 0.4905 MB / 1.329 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004841/1.118, allocations: 2.727 MB / 1.332 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/1.118, allocations: 43.12 kB / 1.332 GB, free: 13.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=60): time 2.785e-06/1.118, allocations: 0 / 1.332 GB, free: 13.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=60): time 0.005464/1.123, allocations: 1.728 MB / 1.334 GB, free: 12.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/1.124, allocations: 59.97 kB / 1.334 GB, free: 12.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005585/1.129, allocations: 2.583 MB / 1.336 GB, free: 9.488 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/1.129, allocations: 45.7 kB / 1.336 GB, free: 9.438 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.131, allocations: 1.013 MB / 1.337 GB, free: 8.414 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004133/1.131, allocations: 224.9 kB / 1.338 GB, free: 8.191 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009395/1.132, allocations: 439 kB / 1.338 GB, free: 7.758 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.132, allocations: 301.1 kB / 1.338 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/1.134, allocations: 1.153 MB / 1.339 GB, free: 6.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/1.137, allocations: 1.538 MB / 1.341 GB, free: 4.617 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004515/1.141, allocations: 2.469 MB / 1.343 GB, free: 2.039 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/1.141, allocations: 4 kB / 1.343 GB, free: 2.035 MB / 1.061 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006283/1.148, allocations: 3.053 MB / 1.346 GB, free: 14.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/1.148, allocations: 8 kB / 1.346 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/1.148, allocations: 11.98 kB / 1.346 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/1.148, allocations: 148.8 kB / 1.346 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.15, allocations: 363.5 kB / 1.347 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006824/1.151, allocations: 0.6693 MB / 1.347 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/1.153, allocations: 222.1 kB / 1.348 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/1.153, allocations: 95.97 kB / 1.348 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002902/1.156, allocations: 1.496 MB / 1.349 GB, free: 11.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002157/1.158, allocations: 1.354 MB / 1.351 GB, free: 10.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00366/1.162, allocations: 2.086 MB / 1.353 GB, free: 8.238 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.999e-06/1.162, allocations: 0 / 1.353 GB, free: 8.238 MB / 1.076 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005746/1.168, allocations: 2.705 MB / 1.355 GB, free: 5.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.168, allocations: 9.719 kB / 1.355 GB, free: 5.512 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.168, allocations: 8 kB / 1.355 GB, free: 5.504 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/1.169, allocations: 221 kB / 1.355 GB, free: 5.285 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.17, allocations: 339.5 kB / 1.356 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/1.176, allocations: 3.506 MB / 1.359 GB, free: 1.242 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.179, allocations: 191.5 kB / 1.359 GB, free: 1.055 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/1.179, allocations: 79.97 kB / 1.359 GB, free: 0.9766 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (167): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000578/1.18, allocations: 253.3 kB / 1.36 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006615/1.18, allocations: 228.9 kB / 1.36 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/1.185, allocations: 1.579 MB / 1.361 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/1.185, allocations: 8 kB / 1.361 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.185, allocations: 0 / 1.361 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.185, allocations: 7.984 kB / 1.361 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007488/1.192, allocations: 3.089 MB / 1.364 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.192, allocations: 4.125 kB / 1.364 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009789/1.193, allocations: 159.7 kB / 1.365 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003933/1.194, allocations: 112.7 kB / 1.365 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.576e-05/1.194, allocations: 31.97 kB / 1.365 GB, free: 11.42 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000553/1.194, allocations: 0.6382 MB / 1.365 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.195, allocations: 7.969 kB / 1.365 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/1.2, allocations: 2.132 MB / 1.367 GB, free: 8.57 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.201, allocations: 433.7 kB / 1.368 GB, free: 8.125 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005705/1.202, allocations: 16 kB / 1.368 GB, free: 8.109 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.203, allocations: 71.91 kB / 1.368 GB, free: 8.039 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.203, allocations: 64.38 kB / 1.368 GB, free: 7.977 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.203, allocations: 39.97 kB / 1.368 GB, free: 7.938 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003924/1.207, allocations: 1.727 MB / 1.37 GB, free: 6.207 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.51e-07/1.207, allocations: 0 / 1.37 GB, free: 6.207 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004464/1.212, allocations: 1.205 MB / 1.371 GB, free: 5 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * 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 (67): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001991/1.214, allocations: 0.7107 MB / 1.372 GB, free: 4.285 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007536/1.221, allocations: 3.491 MB / 1.375 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.222, allocations: 0 / 1.375 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/1.223, allocations: 0.5853 MB / 1.376 GB, free: 204 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005633/1.229, allocations: 1.165 MB / 1.377 GB, free: 15.08 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008621/1.237, allocations: 4.15 MB / 1.381 GB, free: 10.88 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/1.239, allocations: 1.693 MB / 1.382 GB, free: 9.152 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000894/1.24, allocations: 199.3 kB / 1.383 GB, free: 8.957 MB / 1.107 GB Notification: Performance of SimCode: time 1.192e-06/1.24, allocations: 0 / 1.383 GB, free: 8.957 MB / 1.107 GB Notification: Performance of Templates: time 0.07633/1.317, allocations: 53.43 MB / 1.435 GB, free: 3.785 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches