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.007901/0.007907, allocations: 94.3 kB / 15.73 MB, free: 6.484 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.001688/0.001688, allocations: 190.9 kB / 16.67 MB, free: 6.391 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001422, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3356, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05425/0.3899, allocations: 51.51 MB / 1.217 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02808/0.418, allocations: 18.16 MB / 1.235 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/0.4218, allocations: 75.56 kB / 1.235 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005732/0.4276, allocations: 1.898 MB / 1.237 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008444/0.4361, allocations: 2.718 MB / 1.239 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.4414, allocations: 2.091 MB / 1.241 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.756/1.197, allocations: 14.07 MB / 1.255 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/1.201, allocations: 1.728 MB / 1.257 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005635/1.207, allocations: 1.951 MB / 1.259 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003864/1.211, allocations: 1.518 MB / 1.26 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007262/1.211, allocations: 214 kB / 1.26 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005929/1.217, allocations: 1.897 MB / 1.262 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/1.219, allocations: 0.8962 MB / 1.263 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002085/1.221, allocations: 1.383 MB / 1.264 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009236/1.23, allocations: 4.466 MB / 1.269 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.23, allocations: 0 / 1.269 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.896e-06/1.23, allocations: 1.406 kB / 1.269 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001468/1.23, allocations: 0 / 1.269 GB, free: 12.55 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.01012/1.24, allocations: 3.261 MB / 1.272 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.24, allocations: 9.922 kB / 1.272 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005649/1.246, allocations: 0.9433 MB / 1.273 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009355/1.255, allocations: 3.537 MB / 1.276 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/1.256, allocations: 88.41 kB / 1.276 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/1.256, allocations: 113.1 kB / 1.276 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/1.259, allocations: 1.482 MB / 1.278 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/1.259, allocations: 6.016 kB / 1.278 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/1.259, allocations: 44.05 kB / 1.278 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-05/1.26, allocations: 43.88 kB / 1.278 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00339/1.263, allocations: 1.319 MB / 1.279 GB, free: 9.762 MB / 0.9981 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.01162/1.275, allocations: 6.95 MB / 1.286 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/1.278, allocations: 1.142 MB / 1.287 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/1.279, allocations: 0.4906 MB / 1.288 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004807/1.284, allocations: 2.734 MB / 1.29 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/1.284, allocations: 39 kB / 1.29 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/1.284, allocations: 4 kB / 1.29 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.005363/1.289, allocations: 1.738 MB / 1.292 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/1.289, allocations: 58.38 kB / 1.292 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004903/1.294, allocations: 2.585 MB / 1.295 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002809/1.295, allocations: 46.42 kB / 1.295 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009365/1.295, allocations: 1.029 MB / 1.296 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/1.296, allocations: 236.4 kB / 1.296 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007412/1.297, allocations: 441.2 kB / 1.296 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/1.297, allocations: 301.1 kB / 1.297 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/1.299, allocations: 1.145 MB / 1.298 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/1.301, allocations: 1.546 MB / 1.299 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004226/1.305, allocations: 2.452 MB / 1.302 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.305, allocations: 6.469 kB / 1.302 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006874/1.312, allocations: 3.081 MB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/1.312, allocations: 12.92 kB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/1.312, allocations: 15.12 kB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/1.313, allocations: 157.3 kB / 1.305 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/1.315, allocations: 358.9 kB / 1.305 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007014/1.315, allocations: 0.664 MB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/1.318, allocations: 223.2 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/1.318, allocations: 96.83 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003447/1.322, allocations: 1.504 MB / 1.308 GB, free: 14.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002263/1.324, allocations: 1.354 MB / 1.309 GB, free: 13.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003655/1.328, allocations: 2.089 MB / 1.311 GB, free: 12.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.504e-06/1.328, allocations: 2.875 kB / 1.311 GB, free: 12.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.00591/1.334, allocations: 2.713 MB / 1.314 GB, free: 11.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.334, allocations: 11.08 kB / 1.314 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.334, allocations: 8.219 kB / 1.314 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009238/1.335, allocations: 216.2 kB / 1.314 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.336, allocations: 346.5 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/1.342, allocations: 3.499 MB / 1.318 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/1.345, allocations: 185.2 kB / 1.318 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004124/1.345, allocations: 80.59 kB / 1.318 GB, free: 9.164 MB / 1.014 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.0006862/1.346, allocations: 254.9 kB / 1.318 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009695/1.347, allocations: 238.9 kB / 1.318 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/1.352, allocations: 1.576 MB / 1.32 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/1.352, allocations: 10.5 kB / 1.32 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.352, allocations: 0 / 1.32 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.352, allocations: 7.219 kB / 1.32 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008227/1.36, allocations: 3.098 MB / 1.323 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.36, allocations: 0 / 1.323 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009606/1.361, allocations: 166 kB / 1.323 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/1.361, allocations: 108.4 kB / 1.323 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.286e-05/1.361, allocations: 42.73 kB / 1.323 GB, free: 6.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005224/1.362, allocations: 0.6361 MB / 1.324 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.362, allocations: 2.906 kB / 1.324 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/1.367, allocations: 2.142 MB / 1.326 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/1.369, allocations: 450.4 kB / 1.326 GB, free: 5.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008818/1.37, allocations: 17.62 kB / 1.326 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.372, allocations: 77.48 kB / 1.326 GB, free: 5.062 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.372, allocations: 47.88 kB / 1.327 GB, free: 5.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.372, allocations: 43.48 kB / 1.327 GB, free: 5.051 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00406/1.376, allocations: 1.728 MB / 1.328 GB, free: 4.391 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.01e-07/1.376, allocations: 0 / 1.328 GB, free: 4.391 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00567/1.382, allocations: 1.221 MB / 1.329 GB, free: 4.156 MB / 1.014 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.002416/1.384, allocations: 0.7296 MB / 1.33 GB, free: 3.922 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008275/1.392, allocations: 3.498 MB / 1.334 GB, free: 2.672 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.392, allocations: 0 / 1.334 GB, free: 2.672 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.394, allocations: 0.5777 MB / 1.334 GB, free: 2.516 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/1.401, allocations: 1.159 MB / 1.335 GB, free: 2.141 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008555/1.409, allocations: 4.143 MB / 1.339 GB, free: 108 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.411, allocations: 1.718 MB / 1.341 GB, free: 14.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002962/1.414, allocations: 0.6664 MB / 1.342 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/1.414, allocations: 183 kB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of SimCode: time 9.11e-07/1.414, allocations: 3.125 kB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Templates: time 0.08818/1.502, allocations: 52.29 MB / 1.393 GB, free: 11.49 MB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches