Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.007501/0.007501, allocations: 99.28 kB / 15.73 MB, free: 5.949 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.001734/0.001734, allocations: 197.1 kB / 16.68 MB, free: 5.875 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 15.05 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.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.91 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8968/0.8982, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05646/0.9547, allocations: 50.73 MB / 1.137 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02679/0.9815, allocations: 16.13 MB / 1.153 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00447/0.986, allocations: 75.44 kB / 1.153 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004596/0.9906, allocations: 1.06 MB / 1.154 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/1.001, allocations: 2.443 MB / 1.157 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006872/1.008, allocations: 2.002 MB / 1.159 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00904/1.017, allocations: 4.427 MB / 1.163 GB, free: 428 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003495/1.021, allocations: 1.655 MB / 1.165 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0059/1.027, allocations: 1.811 MB / 1.166 GB, free: 14.76 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003971/1.031, allocations: 1.358 MB / 1.168 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006456/1.031, allocations: 188.1 kB / 1.168 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005306/1.037, allocations: 1.568 MB / 1.169 GB, free: 13.61 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/1.038, allocations: 0.6037 MB / 1.17 GB, free: 13.21 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00223/1.04, allocations: 1.036 MB / 1.171 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008236/1.048, allocations: 3.418 MB / 1.174 GB, free: 10.15 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.048, allocations: 4 kB / 1.174 GB, free: 10.15 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/1.048, allocations: 4 kB / 1.174 GB, free: 10.14 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.154e-05/1.048, allocations: 0 / 1.174 GB, free: 10.14 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006/1.054, allocations: 2.385 MB / 1.177 GB, free: 8.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.054, allocations: 14.38 kB / 1.177 GB, free: 8.367 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/1.059, allocations: 0.7359 MB / 1.177 GB, free: 8.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005733/1.065, allocations: 1.923 MB / 1.179 GB, free: 6.645 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/1.065, allocations: 87.53 kB / 1.179 GB, free: 6.602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/1.065, allocations: 107.9 kB / 1.179 GB, free: 6.566 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/1.068, allocations: 1.29 MB / 1.181 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/1.068, allocations: 1 kB / 1.181 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/1.069, allocations: 41.19 kB / 1.181 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/1.069, allocations: 40.56 kB / 1.181 GB, free: 5.727 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002789/1.071, allocations: 1.039 MB / 1.182 GB, free: 5.227 MB / 0.92 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.009771/1.081, allocations: 5.905 MB / 1.188 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/1.084, allocations: 0.8936 MB / 1.188 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.085, allocations: 400.9 kB / 1.189 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003687/1.088, allocations: 2.196 MB / 1.191 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.088, allocations: 54.06 kB / 1.191 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 2.023e-06/1.088, allocations: 4 kB / 1.191 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.004325/1.093, allocations: 1.34 MB / 1.192 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/1.093, allocations: 57.59 kB / 1.192 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/1.095, allocations: 1.508 MB / 1.194 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/1.095, allocations: 42.23 kB / 1.194 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/1.096, allocations: 0.7784 MB / 1.195 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/1.096, allocations: 206.7 kB / 1.195 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/1.097, allocations: 211.1 kB / 1.195 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.097, allocations: 337.9 kB / 1.195 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/1.098, allocations: 471.7 kB / 1.196 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/1.099, allocations: 0.7624 MB / 1.197 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/1.102, allocations: 1.177 MB / 1.198 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/1.102, allocations: 2.406 kB / 1.198 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003739/1.106, allocations: 1.456 MB / 1.199 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/1.106, allocations: 8.094 kB / 1.199 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.106, allocations: 7.906 kB / 1.199 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/1.106, allocations: 145.7 kB / 1.199 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.108, allocations: 251.2 kB / 1.2 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007638/1.108, allocations: 0.655 MB / 1.2 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/1.11, allocations: 131.6 kB / 1.2 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.111, allocations: 59.41 kB / 1.2 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002167/1.113, allocations: 0.7301 MB / 1.201 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001381/1.114, allocations: 0.6895 MB / 1.202 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002313/1.116, allocations: 1.053 MB / 1.203 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.081e-06/1.116, allocations: 2.75 kB / 1.203 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.003997/1.12, allocations: 1.341 MB / 1.204 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.121, allocations: 16.5 kB / 1.204 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1.121, allocations: 7.594 kB / 1.204 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.122, allocations: 211.9 kB / 1.204 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.123, allocations: 237.1 kB / 1.205 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005824/1.128, allocations: 3.499 MB / 1.208 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/1.13, allocations: 99.39 kB / 1.208 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.13, allocations: 55.97 kB / 1.208 GB, free: 1.289 MB / 0.9356 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 (100): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0004143/1.131, allocations: 232.5 kB / 1.208 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/1.131, allocations: 158 kB / 1.208 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/1.134, allocations: 1.287 MB / 1.21 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/1.134, allocations: 11.94 kB / 1.21 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.134, allocations: 3.984 kB / 1.21 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/1.134, allocations: 4 kB / 1.21 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/1.139, allocations: 2.493 MB / 1.212 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.139, allocations: 4 kB / 1.212 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/1.14, allocations: 143.8 kB / 1.212 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/1.141, allocations: 112.8 kB / 1.212 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/1.141, allocations: 27.97 kB / 1.212 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004528/1.141, allocations: 0.6344 MB / 1.213 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.141, allocations: 0 / 1.213 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003878/1.145, allocations: 1.721 MB / 1.215 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008713/1.146, allocations: 338.7 kB / 1.215 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.146, allocations: 19.98 kB / 1.215 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/1.147, allocations: 59.89 kB / 1.215 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.147, allocations: 44.5 kB / 1.215 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/1.147, allocations: 35.97 kB / 1.215 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001533/1.149, allocations: 1.02 MB / 1.216 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.149, allocations: 0 / 1.216 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00301/1.152, allocations: 0.8965 MB / 1.217 GB, free: 7.898 MB / 0.9512 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 (64): * Single equations (assignments): 57 * 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.001564/1.153, allocations: 0.5592 MB / 1.218 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004744/1.158, allocations: 1.779 MB / 1.219 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.158, allocations: 0 / 1.219 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.159, allocations: 479.8 kB / 1.22 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/1.163, allocations: 0.7582 MB / 1.221 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/1.169, allocations: 2.839 MB / 1.223 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.17, allocations: 1.36 MB / 1.225 GB, free: 56 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001845/1.172, allocations: 417.2 kB / 1.225 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/1.172, allocations: 135.4 kB / 1.225 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of SimCode: time 1.523e-06/1.172, allocations: 3.938 kB / 1.225 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of Templates: time 0.06746/1.24, allocations: 36.46 MB / 1.261 GB, free: 11.49 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches