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.001714/0.001714, allocations: 102.2 kB / 16.27 MB, free: 6 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.001559/0.001559, allocations: 191 kB / 17.2 MB, free: 5.609 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.655/2.655, allocations: 437 MB / 0.711 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 63.88 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3519, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.06135/0.4133, allocations: 51.51 MB / 1.068 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6677/1.081, allocations: 18.14 MB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003942/1.085, allocations: 76.09 kB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.02007/1.105, allocations: 9.73 MB / 1.096 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009283/1.114, allocations: 2.629 MB / 1.098 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006917/1.121, allocations: 2.058 MB / 1.1 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02469/1.146, allocations: 13.84 MB / 1.114 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004392/1.151, allocations: 1.673 MB / 1.115 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006418/1.157, allocations: 1.874 MB / 1.117 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/1.161, allocations: 1.449 MB / 1.118 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001145/1.162, allocations: 200.1 kB / 1.119 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006889/1.169, allocations: 1.881 MB / 1.121 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001847/1.171, allocations: 0.8718 MB / 1.121 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004771/1.175, allocations: 1.362 MB / 1.123 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/1.189, allocations: 4.328 MB / 1.127 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/1.189, allocations: 0 / 1.127 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.745e-06/1.189, allocations: 3.938 kB / 1.127 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002181/1.189, allocations: 0 / 1.127 GB, free: 3.246 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.01133/1.2, allocations: 3.127 MB / 1.13 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.2, allocations: 8.844 kB / 1.13 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/1.206, allocations: 0.9288 MB / 1.131 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009477/1.216, allocations: 3.339 MB / 1.134 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/1.216, allocations: 96.27 kB / 1.134 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006151/1.217, allocations: 118.5 kB / 1.134 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/1.221, allocations: 1.488 MB / 1.136 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/1.221, allocations: 1.531 kB / 1.136 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/1.221, allocations: 42.09 kB / 1.136 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.076e-05/1.221, allocations: 45.05 kB / 1.136 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/1.225, allocations: 1.33 MB / 1.137 GB, free: 12.75 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.01353/1.239, allocations: 6.974 MB / 1.144 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/1.242, allocations: 1.205 MB / 1.145 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/1.244, allocations: 0.4986 MB / 1.146 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005395/1.249, allocations: 2.709 MB / 1.148 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/1.249, allocations: 45.88 kB / 1.148 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=60): time 2.935e-06/1.249, allocations: 0 / 1.148 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60): time 0.005569/1.255, allocations: 1.725 MB / 1.15 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/1.255, allocations: 57.56 kB / 1.15 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005233/1.26, allocations: 2.56 MB / 1.153 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002642/1.26, allocations: 39.02 kB / 1.153 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.262, allocations: 1.023 MB / 1.154 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/1.262, allocations: 222.5 kB / 1.154 GB, free: 452 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/1.263, allocations: 435.9 kB / 1.154 GB, free: 216 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.263, allocations: 305.1 kB / 1.155 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/1.265, allocations: 1.152 MB / 1.156 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/1.268, allocations: 1.547 MB / 1.157 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004513/1.273, allocations: 2.466 MB / 1.16 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/1.273, allocations: 4 kB / 1.16 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006521/1.279, allocations: 3.064 MB / 1.163 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/1.279, allocations: 11.98 kB / 1.163 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/1.279, allocations: 8 kB / 1.163 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/1.28, allocations: 149.2 kB / 1.163 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.282, allocations: 367.5 kB / 1.163 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007686/1.282, allocations: 0.6694 MB / 1.164 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/1.285, allocations: 220.7 kB / 1.164 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/1.285, allocations: 95.91 kB / 1.164 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003456/1.289, allocations: 1.507 MB / 1.166 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002418/1.291, allocations: 1.355 MB / 1.167 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003972/1.295, allocations: 2.097 MB / 1.169 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.399e-05/1.295, allocations: 4 kB / 1.169 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.006241/1.302, allocations: 2.709 MB / 1.172 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.302, allocations: 18.44 kB / 1.172 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/1.302, allocations: 8 kB / 1.172 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009978/1.303, allocations: 212.9 kB / 1.172 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/1.304, allocations: 347.5 kB / 1.172 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/1.311, allocations: 3.508 MB / 1.176 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/1.313, allocations: 183.6 kB / 1.176 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/1.314, allocations: 83.97 kB / 1.176 GB, free: 11.08 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.000666/1.314, allocations: 261.3 kB / 1.176 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008797/1.315, allocations: 225 kB / 1.176 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004844/1.32, allocations: 1.589 MB / 1.178 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/1.32, allocations: 15.92 kB / 1.178 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.32, allocations: 4 kB / 1.178 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.32, allocations: 3.984 kB / 1.178 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008403/1.329, allocations: 3.089 MB / 1.181 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.329, allocations: 0 / 1.181 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.33, allocations: 171.8 kB / 1.181 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/1.33, allocations: 107.9 kB / 1.181 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/1.33, allocations: 27.97 kB / 1.181 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005845/1.331, allocations: 0.6421 MB / 1.182 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.331, allocations: 0 / 1.182 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005497/1.336, allocations: 2.158 MB / 1.184 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.338, allocations: 433.7 kB / 1.184 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007913/1.339, allocations: 12 kB / 1.184 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.34, allocations: 75.92 kB / 1.184 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.341, allocations: 44.5 kB / 1.184 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.341, allocations: 47.95 kB / 1.184 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003689/1.344, allocations: 1.695 MB / 1.186 GB, free: 380 kB / 0.8887 GB Notification: Performance of sort global known variables: time 3.61e-07/1.344, allocations: 0 / 1.186 GB, free: 380 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005599/1.35, allocations: 1.213 MB / 1.187 GB, free: 15.16 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.002368/1.352, allocations: 0.7203 MB / 1.188 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008455/1.361, allocations: 3.567 MB / 1.192 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.361, allocations: 0 / 1.192 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/1.363, allocations: 0.5705 MB / 1.192 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006222/1.369, allocations: 1.149 MB / 1.193 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00903/1.378, allocations: 4.221 MB / 1.197 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.38, allocations: 1.689 MB / 1.199 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/1.38, allocations: 199.3 kB / 1.199 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of SimCode: time 7.41e-07/1.38, allocations: 0 / 1.199 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of Templates: time 0.08091/1.461, allocations: 53.08 MB / 1.251 GB, free: 14.24 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 -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