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.001464/0.001464, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001697/0.001698, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 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.233/2.233, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 67.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8431, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05604/0.8992, allocations: 50.75 MB / 1.138 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02773/0.927, allocations: 16.11 MB / 1.154 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004973/0.932, allocations: 79.62 kB / 1.154 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00446/0.9365, allocations: 1.06 MB / 1.155 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009821/0.9464, allocations: 2.446 MB / 1.157 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007268/0.9537, allocations: 1.994 MB / 1.159 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009141/0.9628, allocations: 4.43 MB / 1.164 GB, free: 464 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00393/0.9668, allocations: 1.65 MB / 1.165 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/0.9726, allocations: 1.842 MB / 1.167 GB, free: 14.79 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.976, allocations: 1.351 MB / 1.168 GB, free: 14.15 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0009173/0.9769, allocations: 191.7 kB / 1.169 GB, free: 14.15 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005275/0.9822, allocations: 1.572 MB / 1.17 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001512/0.9837, allocations: 0.5992 MB / 1.171 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0032/0.987, allocations: 1.035 MB / 1.172 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.009118/0.9961, allocations: 3.417 MB / 1.175 GB, free: 10.19 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9962, allocations: 0 / 1.175 GB, free: 10.19 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9962, allocations: 0 / 1.175 GB, free: 10.19 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001294/0.9963, allocations: 0 / 1.175 GB, free: 10.19 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.008106/1.004, allocations: 2.396 MB / 1.177 GB, free: 8.406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.004, allocations: 9.531 kB / 1.177 GB, free: 8.406 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/1.009, allocations: 0.7358 MB / 1.178 GB, free: 8.078 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006351/1.016, allocations: 1.923 MB / 1.18 GB, free: 6.684 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/1.016, allocations: 91.72 kB / 1.18 GB, free: 6.637 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005878/1.017, allocations: 112.4 kB / 1.18 GB, free: 6.598 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004322/1.021, allocations: 1.289 MB / 1.181 GB, free: 5.797 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/1.021, allocations: 1.312 kB / 1.181 GB, free: 5.797 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/1.021, allocations: 41.78 kB / 1.181 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.298e-05/1.021, allocations: 40 kB / 1.182 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/1.025, allocations: 1.039 MB / 1.183 GB, free: 5.258 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.01131/1.036, allocations: 5.909 MB / 1.188 GB, free: 104 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/1.038, allocations: 0.8921 MB / 1.189 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/1.04, allocations: 401.3 kB / 1.19 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004241/1.044, allocations: 2.201 MB / 1.192 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.044, allocations: 46.05 kB / 1.192 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 2.926e-06/1.044, allocations: 0 / 1.192 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.004506/1.048, allocations: 1.346 MB / 1.193 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/1.048, allocations: 58 kB / 1.193 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/1.052, allocations: 1.505 MB / 1.195 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.052, allocations: 41 kB / 1.195 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007451/1.053, allocations: 0.7844 MB / 1.195 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/1.053, allocations: 201 kB / 1.196 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/1.053, allocations: 211.3 kB / 1.196 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.053, allocations: 342.8 kB / 1.196 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/1.055, allocations: 462.7 kB / 1.197 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.056, allocations: 0.7591 MB / 1.197 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/1.058, allocations: 1.18 MB / 1.198 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.059, allocations: 2.219 kB / 1.198 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003764/1.062, allocations: 1.458 MB / 1.2 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/1.062, allocations: 9.656 kB / 1.2 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/1.062, allocations: 7.719 kB / 1.2 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/1.063, allocations: 145.9 kB / 1.2 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/1.064, allocations: 246.1 kB / 1.2 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006324/1.065, allocations: 0.6555 MB / 1.201 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.066, allocations: 132.4 kB / 1.201 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/1.066, allocations: 55.41 kB / 1.201 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001676/1.068, allocations: 0.7328 MB / 1.202 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001188/1.069, allocations: 0.7022 MB / 1.202 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002073/1.071, allocations: 1.053 MB / 1.204 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.014e-05/1.071, allocations: 2.75 kB / 1.204 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.003584/1.075, allocations: 1.342 MB / 1.205 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.075, allocations: 17.41 kB / 1.205 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.075, allocations: 7.688 kB / 1.205 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000973/1.076, allocations: 208.4 kB / 1.205 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000961/1.077, allocations: 228.5 kB / 1.205 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/1.083, allocations: 3.502 MB / 1.209 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/1.085, allocations: 103.4 kB / 1.209 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003002/1.085, allocations: 59.97 kB / 1.209 GB, free: 1.332 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.00047/1.086, allocations: 232.5 kB / 1.209 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006045/1.086, allocations: 158 kB / 1.209 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/1.09, allocations: 1.29 MB / 1.21 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.09, allocations: 7.938 kB / 1.21 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.09, allocations: 4 kB / 1.21 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.09, allocations: 3.984 kB / 1.21 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00577/1.096, allocations: 2.486 MB / 1.213 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.096, allocations: 0 / 1.213 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/1.097, allocations: 151.8 kB / 1.213 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/1.097, allocations: 104.7 kB / 1.213 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/1.097, allocations: 19.98 kB / 1.213 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00054/1.098, allocations: 0.6383 MB / 1.214 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.098, allocations: 3.938 kB / 1.214 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/1.102, allocations: 1.728 MB / 1.215 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.103, allocations: 334.8 kB / 1.216 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00041/1.103, allocations: 20 kB / 1.216 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.104, allocations: 63.88 kB / 1.216 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.104, allocations: 48.5 kB / 1.216 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/1.104, allocations: 35.91 kB / 1.216 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001982/1.106, allocations: 1.024 MB / 1.217 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/1.106, allocations: 0 / 1.217 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003736/1.11, allocations: 0.8965 MB / 1.218 GB, free: 7.938 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.001763/1.112, allocations: 0.5439 MB / 1.218 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004519/1.117, allocations: 1.783 MB / 1.22 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.117, allocations: 0 / 1.22 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.118, allocations: 483.2 kB / 1.221 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/1.122, allocations: 0.7663 MB / 1.221 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/1.128, allocations: 2.909 MB / 1.224 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.129, allocations: 1.357 MB / 1.225 GB, free: 24 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/1.129, allocations: 143.4 kB / 1.226 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of SimCode: time 1.212e-06/1.129, allocations: 3.938 kB / 1.226 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of Templates: time 0.05594/1.185, allocations: 38.4 MB / 1.263 GB, free: 9.719 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches