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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001469/0.001469, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.001374/0.001374, allocations: 192.1 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.387/1.387, 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.1-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 55.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05861/1.073, allocations: 51.5 MB / 1.218 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02945/1.103, allocations: 18.17 MB / 1.235 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004489/1.107, allocations: 79.56 kB / 1.235 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006383/1.113, allocations: 1.923 MB / 1.237 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009248/1.123, allocations: 2.828 MB / 1.24 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006064/1.129, allocations: 2.107 MB / 1.242 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02163/1.15, allocations: 14.07 MB / 1.256 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/1.154, allocations: 1.732 MB / 1.258 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005572/1.16, allocations: 1.981 MB / 1.259 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/1.163, allocations: 1.51 MB / 1.261 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007591/1.164, allocations: 216 kB / 1.261 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006073/1.17, allocations: 1.899 MB / 1.263 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001867/1.172, allocations: 0.8919 MB / 1.264 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002596/1.174, allocations: 1.384 MB / 1.265 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008971/1.183, allocations: 4.451 MB / 1.27 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.183, allocations: 0 / 1.27 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.685e-06/1.183, allocations: 0 / 1.27 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001109/1.184, allocations: 0 / 1.27 GB, free: 10.8 MB / 0.9981 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.007969/1.192, allocations: 3.156 MB / 1.273 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.192, allocations: 8.031 kB / 1.273 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/1.197, allocations: 0.9331 MB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008739/1.206, allocations: 3.511 MB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/1.206, allocations: 93.92 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003847/1.207, allocations: 116 kB / 1.277 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/1.21, allocations: 1.486 MB / 1.279 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.21, allocations: 0 / 1.279 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.21, allocations: 43.94 kB / 1.279 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/1.21, allocations: 45.97 kB / 1.279 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/1.213, allocations: 1.316 MB / 1.28 GB, free: 15.89 MB / 1.014 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.01282/1.226, allocations: 6.951 MB / 1.287 GB, free: 8.559 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/1.229, allocations: 1.13 MB / 1.288 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/1.23, allocations: 0.4905 MB / 1.288 GB, free: 6.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004912/1.235, allocations: 2.727 MB / 1.291 GB, free: 3.969 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/1.236, allocations: 43.06 kB / 1.291 GB, free: 3.918 MB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 3.377e-06/1.236, allocations: 0 / 1.291 GB, free: 3.918 MB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.005295/1.241, allocations: 1.728 MB / 1.293 GB, free: 2.164 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.241, allocations: 59.97 kB / 1.293 GB, free: 2.094 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00567/1.247, allocations: 2.583 MB / 1.295 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003017/1.247, allocations: 41.7 kB / 1.295 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/1.248, allocations: 1.017 MB / 1.296 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000454/1.249, allocations: 228.9 kB / 1.297 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/1.25, allocations: 435 kB / 1.297 GB, free: 13.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.25, allocations: 305.1 kB / 1.297 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/1.252, allocations: 1.145 MB / 1.298 GB, free: 12.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/1.255, allocations: 1.538 MB / 1.3 GB, free: 10.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004404/1.259, allocations: 2.465 MB / 1.302 GB, free: 8.051 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/1.259, allocations: 7.938 kB / 1.302 GB, free: 8.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006363/1.266, allocations: 3.053 MB / 1.305 GB, free: 4.969 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/1.266, allocations: 12 kB / 1.305 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.266, allocations: 12 kB / 1.305 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/1.266, allocations: 140.8 kB / 1.305 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/1.268, allocations: 359.8 kB / 1.306 GB, free: 4.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007844/1.269, allocations: 0.6693 MB / 1.306 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.271, allocations: 227.2 kB / 1.307 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002626/1.272, allocations: 91.97 kB / 1.307 GB, free: 3.445 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003221/1.275, allocations: 1.499 MB / 1.308 GB, free: 1.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002307/1.277, allocations: 1.35 MB / 1.31 GB, free: 460 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00377/1.281, allocations: 2.09 MB / 1.312 GB, free: 14.24 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.29e-05/1.281, allocations: 4 kB / 1.312 GB, free: 14.24 MB / 1.045 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.006025/1.287, allocations: 2.705 MB / 1.314 GB, free: 11.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.287, allocations: 8 kB / 1.314 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.287, allocations: 8 kB / 1.314 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.288, allocations: 209.3 kB / 1.314 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.29, allocations: 347.5 kB / 1.315 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006981/1.297, allocations: 3.512 MB / 1.318 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/1.299, allocations: 170.9 kB / 1.318 GB, free: 7.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/1.3, allocations: 83.97 kB / 1.318 GB, free: 6.988 MB / 1.045 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.0007122/1.301, allocations: 260.4 kB / 1.319 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009152/1.302, allocations: 228.9 kB / 1.319 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004828/1.306, allocations: 1.567 MB / 1.32 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/1.306, allocations: 15.98 kB / 1.32 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.307, allocations: 0 / 1.32 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/1.307, allocations: 3.984 kB / 1.32 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008983/1.316, allocations: 3.101 MB / 1.324 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/1.316, allocations: 0 / 1.324 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.317, allocations: 159.9 kB / 1.324 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004147/1.317, allocations: 108.7 kB / 1.324 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.317, allocations: 35.95 kB / 1.324 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006419/1.318, allocations: 0.6382 MB / 1.324 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.318, allocations: 4 kB / 1.324 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005596/1.323, allocations: 2.144 MB / 1.327 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.325, allocations: 433.6 kB / 1.327 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000865/1.326, allocations: 12 kB / 1.327 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/1.328, allocations: 79.92 kB / 1.327 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.328, allocations: 52.42 kB / 1.327 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.328, allocations: 43.97 kB / 1.327 GB, free: 13.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00471/1.333, allocations: 1.723 MB / 1.329 GB, free: 12.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/1.333, allocations: 0 / 1.329 GB, free: 12.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005575/1.339, allocations: 1.205 MB / 1.33 GB, free: 11 MB / 1.061 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.002449/1.341, allocations: 0.7149 MB / 1.331 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007942/1.349, allocations: 3.499 MB / 1.334 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/1.349, allocations: 0 / 1.334 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.351, allocations: 0.5735 MB / 1.335 GB, free: 6.203 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006031/1.357, allocations: 1.16 MB / 1.336 GB, free: 5.086 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.367, allocations: 4.154 MB / 1.34 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/1.369, allocations: 1.697 MB / 1.342 GB, free: 15.15 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.37, allocations: 199.3 kB / 1.342 GB, free: 14.96 MB / 1.076 GB Notification: Performance of SimCode: time 1.583e-06/1.37, allocations: 0 / 1.342 GB, free: 14.96 MB / 1.076 GB Notification: Performance of Templates: time 0.09023/1.461, allocations: 53.44 MB / 1.394 GB, free: 9.75 MB / 1.123 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 -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