Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001393/0.001393, allocations: 109.2 kB / 16.36 MB, free: 6.336 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.001468/0.001468, allocations: 193.5 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.449/1.449, 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 10.1.0-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.27 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2868, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05013/0.3369, allocations: 51.5 MB / 1.069 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5385/0.8755, allocations: 18.15 MB / 1.087 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00438/0.8799, allocations: 76.78 kB / 1.087 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01983/0.8998, allocations: 9.729 MB / 1.096 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009799/0.9096, allocations: 2.623 MB / 1.099 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007213/0.9168, allocations: 2.083 MB / 1.101 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02396/0.9408, allocations: 13.86 MB / 1.114 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003313/0.9441, allocations: 1.684 MB / 1.116 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005461/0.9496, allocations: 1.886 MB / 1.118 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/0.9531, allocations: 1.452 MB / 1.119 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007634/0.9539, allocations: 199.1 kB / 1.12 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005893/0.9598, allocations: 1.885 MB / 1.121 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.9612, allocations: 0.8696 MB / 1.122 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002573/0.9638, allocations: 1.361 MB / 1.124 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008498/0.9723, allocations: 4.361 MB / 1.128 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.9724, allocations: 4 kB / 1.128 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9724, allocations: 0 / 1.128 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.718e-05/0.9725, allocations: 1.188 kB / 1.128 GB, free: 3.492 MB / 0.8419 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.007957/0.9805, allocations: 3.12 MB / 1.131 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/0.9806, allocations: 9.625 kB / 1.131 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005981/0.9866, allocations: 0.9246 MB / 1.132 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009013/0.9956, allocations: 3.41 MB / 1.135 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.9958, allocations: 84.88 kB / 1.135 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.9962, allocations: 114.5 kB / 1.135 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.9995, allocations: 1.483 MB / 1.137 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.9995, allocations: 5.375 kB / 1.137 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.9996, allocations: 41.41 kB / 1.137 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.9997, allocations: 41.19 kB / 1.137 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/1.003, allocations: 1.33 MB / 1.138 GB, free: 12.81 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.01081/1.013, allocations: 6.904 MB / 1.145 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/1.016, allocations: 1.15 MB / 1.146 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.018, allocations: 0.4883 MB / 1.147 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004209/1.022, allocations: 2.707 MB / 1.149 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.022, allocations: 46 kB / 1.149 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=60): time 2.254e-06/1.022, allocations: 4 kB / 1.149 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60): time 0.004673/1.026, allocations: 1.722 MB / 1.151 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.027, allocations: 59.81 kB / 1.151 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/1.03, allocations: 2.555 MB / 1.153 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/1.03, allocations: 41.7 kB / 1.153 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009012/1.031, allocations: 1.02 MB / 1.154 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.031, allocations: 222 kB / 1.155 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006306/1.032, allocations: 435.4 kB / 1.155 GB, free: 336 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.032, allocations: 310.2 kB / 1.155 GB, free: 28 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/1.034, allocations: 1.15 MB / 1.157 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/1.036, allocations: 1.532 MB / 1.158 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/1.04, allocations: 2.463 MB / 1.16 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/1.04, allocations: 4 kB / 1.16 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005042/1.045, allocations: 3.053 MB / 1.163 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/1.045, allocations: 12 kB / 1.163 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1.045, allocations: 8.625 kB / 1.163 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005143/1.046, allocations: 148.8 kB / 1.164 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.047, allocations: 367.4 kB / 1.164 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005718/1.048, allocations: 0.6662 MB / 1.165 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.05, allocations: 211.4 kB / 1.165 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/1.05, allocations: 99.95 kB / 1.165 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002504/1.052, allocations: 1.507 MB / 1.166 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001957/1.054, allocations: 1.346 MB / 1.168 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003139/1.057, allocations: 2.093 MB / 1.17 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.881e-06/1.057, allocations: 0 / 1.17 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005218/1.063, allocations: 2.694 MB / 1.172 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.063, allocations: 8.062 kB / 1.172 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.063, allocations: 15.94 kB / 1.172 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008954/1.064, allocations: 212.7 kB / 1.173 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.065, allocations: 339.5 kB / 1.173 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005606/1.071, allocations: 3.509 MB / 1.176 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/1.073, allocations: 178.8 kB / 1.176 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/1.073, allocations: 79.97 kB / 1.177 GB, free: 11.12 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.0004056/1.074, allocations: 256 kB / 1.177 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/1.074, allocations: 225 kB / 1.177 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/1.078, allocations: 1.571 MB / 1.179 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.078, allocations: 12 kB / 1.179 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.078, allocations: 11.88 kB / 1.179 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.078, allocations: 3.984 kB / 1.179 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006027/1.084, allocations: 3.075 MB / 1.182 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.084, allocations: 0 / 1.182 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009648/1.085, allocations: 163.9 kB / 1.182 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003517/1.085, allocations: 116.6 kB / 1.182 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/1.085, allocations: 27.97 kB / 1.182 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000458/1.086, allocations: 0.6382 MB / 1.182 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.086, allocations: 0 / 1.182 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00458/1.09, allocations: 2.151 MB / 1.185 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.092, allocations: 429.6 kB / 1.185 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/1.092, allocations: 16 kB / 1.185 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.093, allocations: 71.92 kB / 1.185 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.093, allocations: 48.5 kB / 1.185 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.093, allocations: 43.97 kB / 1.185 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002705/1.096, allocations: 1.699 MB / 1.187 GB, free: 456 kB / 0.8887 GB Notification: Performance of sort global known variables: time 2.51e-07/1.096, allocations: 0 / 1.187 GB, free: 456 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003582/1.1, allocations: 1.201 MB / 1.188 GB, free: 15.24 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.002386/1.102, allocations: 0.7266 MB / 1.189 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007214/1.109, allocations: 3.494 MB / 1.192 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.109, allocations: 4 kB / 1.192 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/1.111, allocations: 0.5741 MB / 1.193 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004842/1.116, allocations: 1.154 MB / 1.194 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/1.122, allocations: 4.066 MB / 1.198 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.124, allocations: 1.709 MB / 1.199 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002445/1.126, allocations: 0.666 MB / 1.2 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/1.127, allocations: 195.3 kB / 1.2 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of SimCode: time 1.192e-06/1.127, allocations: 0 / 1.2 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of Templates: time 0.08215/1.209, allocations: 51.86 MB / 1.251 GB, free: 15.46 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches