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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001291/0.001291, allocations: 107.1 kB / 16.36 MB, free: 6.34 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.00119/0.00119, allocations: 195.4 kB / 17.29 MB, free: 5.883 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 71.14 kB / 0.8773 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2925, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.622/0.9145, allocations: 51.5 MB / 1.077 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02852/0.943, allocations: 18.15 MB / 1.095 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0041/0.9472, allocations: 77.53 kB / 1.095 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.02116/0.9684, allocations: 9.73 MB / 1.104 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.9784, allocations: 2.62 MB / 1.107 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006794/0.9852, allocations: 2.083 MB / 1.109 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02585/1.011, allocations: 13.85 MB / 1.122 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/1.014, allocations: 1.681 MB / 1.124 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005196/1.02, allocations: 1.889 MB / 1.126 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/1.022, allocations: 1.45 MB / 1.127 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005298/1.023, allocations: 199.1 kB / 1.128 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/1.028, allocations: 1.892 MB / 1.129 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008563/1.028, allocations: 0.868 MB / 1.13 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/1.03, allocations: 1.366 MB / 1.132 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007733/1.038, allocations: 4.362 MB / 1.136 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.038, allocations: 1.062 kB / 1.136 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.003e-06/1.038, allocations: 0 / 1.136 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.882e-05/1.038, allocations: 0 / 1.136 GB, free: 14.72 MB / 0.8575 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.006865/1.045, allocations: 3.122 MB / 1.139 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.045, allocations: 9.562 kB / 1.139 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005746/1.05, allocations: 0.928 MB / 1.14 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008281/1.059, allocations: 3.404 MB / 1.143 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.473e-05/1.059, allocations: 89.56 kB / 1.143 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/1.059, allocations: 112.7 kB / 1.143 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/1.062, allocations: 1.478 MB / 1.145 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/1.062, allocations: 13.42 kB / 1.145 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/1.062, allocations: 41.03 kB / 1.145 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/1.062, allocations: 41.08 kB / 1.145 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/1.066, allocations: 1.321 MB / 1.146 GB, free: 8.035 MB / 0.8575 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.077, allocations: 6.921 MB / 1.153 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/1.08, allocations: 1.134 MB / 1.154 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/1.081, allocations: 0.4942 MB / 1.154 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004903/1.086, allocations: 2.717 MB / 1.157 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/1.086, allocations: 41.78 kB / 1.157 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/1.086, allocations: 0 / 1.157 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.005068/1.092, allocations: 1.719 MB / 1.159 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/1.092, allocations: 61.08 kB / 1.159 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/1.095, allocations: 2.553 MB / 1.161 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/1.096, allocations: 39.55 kB / 1.161 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009963/1.097, allocations: 1.024 MB / 1.162 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/1.097, allocations: 222.1 kB / 1.163 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006819/1.098, allocations: 432.7 kB / 1.163 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.098, allocations: 303.8 kB / 1.163 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/1.1, allocations: 1.144 MB / 1.164 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/1.102, allocations: 1.546 MB / 1.166 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004017/1.106, allocations: 2.465 MB / 1.168 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.106, allocations: 4 kB / 1.168 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006096/1.112, allocations: 3.053 MB / 1.171 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/1.113, allocations: 8 kB / 1.171 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/1.113, allocations: 12.03 kB / 1.171 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005592/1.113, allocations: 148.8 kB / 1.172 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.115, allocations: 359.5 kB / 1.172 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006615/1.115, allocations: 0.6625 MB / 1.172 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.118, allocations: 222.6 kB / 1.173 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/1.118, allocations: 95.95 kB / 1.173 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002735/1.121, allocations: 1.499 MB / 1.174 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002033/1.123, allocations: 1.354 MB / 1.176 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003488/1.126, allocations: 2.09 MB / 1.178 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.596e-06/1.126, allocations: 4 kB / 1.178 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005565/1.132, allocations: 2.702 MB / 1.18 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.132, allocations: 12 kB / 1.18 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.132, allocations: 8 kB / 1.18 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009507/1.133, allocations: 208.8 kB / 1.18 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.134, allocations: 347.5 kB / 1.181 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/1.14, allocations: 3.519 MB / 1.184 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/1.143, allocations: 167 kB / 1.184 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/1.143, allocations: 79.97 kB / 1.184 GB, free: 4.883 MB / 0.8887 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.0004316/1.144, allocations: 258.4 kB / 1.185 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/1.144, allocations: 232.9 kB / 1.185 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/1.148, allocations: 1.579 MB / 1.187 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/1.148, allocations: 8 kB / 1.187 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.148, allocations: 0 / 1.187 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.148, allocations: 3.984 kB / 1.187 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007077/1.155, allocations: 3.081 MB / 1.19 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.155, allocations: 3.984 kB / 1.19 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/1.156, allocations: 159.9 kB / 1.19 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/1.157, allocations: 112.6 kB / 1.19 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/1.157, allocations: 35.97 kB / 1.19 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000494/1.157, allocations: 0.6364 MB / 1.19 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.157, allocations: 0 / 1.19 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004954/1.162, allocations: 2.143 MB / 1.193 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.164, allocations: 437.6 kB / 1.193 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004757/1.164, allocations: 16 kB / 1.193 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.165, allocations: 71.92 kB / 1.193 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.165, allocations: 48.5 kB / 1.193 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.166, allocations: 51.91 kB / 1.193 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002921/1.169, allocations: 1.695 MB / 1.195 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.306e-06/1.169, allocations: 4 kB / 1.195 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004149/1.173, allocations: 1.209 MB / 1.196 GB, free: 8.973 MB / 0.9044 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.001969/1.175, allocations: 0.712 MB / 1.197 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00673/1.181, allocations: 3.498 MB / 1.2 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.181, allocations: 4 kB / 1.2 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/1.183, allocations: 0.5744 MB / 1.201 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004686/1.188, allocations: 1.154 MB / 1.202 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007058/1.195, allocations: 4.056 MB / 1.206 GB, free: 15 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/1.196, allocations: 1.716 MB / 1.207 GB, free: 13.25 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002644/1.199, allocations: 0.6621 MB / 1.208 GB, free: 12.58 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/1.199, allocations: 191.3 kB / 1.208 GB, free: 12.4 MB / 0.92 GB Notification: Performance of SimCode: time 1.163e-06/1.199, allocations: 4 kB / 1.208 GB, free: 12.39 MB / 0.92 GB Notification: Performance of Templates: time 0.08392/1.283, allocations: 51.85 MB / 1.259 GB, free: 9.172 MB / 0.9669 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 -s cvode -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