Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001903/0.001904, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.002738/0.002738, allocations: 190.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.754/2.754, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.673/4.673, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 63.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41/1.412, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.08396/1.496, allocations: 51.49 MB / 1.259 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03943/1.536, allocations: 18.16 MB / 1.276 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004112/1.54, allocations: 75.62 kB / 1.276 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008687/1.549, allocations: 1.904 MB / 1.278 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/1.559, allocations: 2.714 MB / 1.281 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008574/1.568, allocations: 2.101 MB / 1.283 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03543/1.603, allocations: 14.08 MB / 1.297 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004225/1.607, allocations: 1.728 MB / 1.298 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007223/1.615, allocations: 1.966 MB / 1.3 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003997/1.619, allocations: 1.522 MB / 1.302 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001008/1.62, allocations: 212 kB / 1.302 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006141/1.626, allocations: 1.899 MB / 1.304 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001793/1.628, allocations: 0.8996 MB / 1.305 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002836/1.631, allocations: 1.387 MB / 1.306 GB, free: 9.145 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009965/1.641, allocations: 4.444 MB / 1.311 GB, free: 4.688 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.641, allocations: 4 kB / 1.311 GB, free: 4.684 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.354e-06/1.641, allocations: 0 / 1.311 GB, free: 4.684 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000104/1.641, allocations: 0 / 1.311 GB, free: 4.684 MB / 1.029 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.01034/1.651, allocations: 3.156 MB / 1.314 GB, free: 1.449 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/1.651, allocations: 12.03 kB / 1.314 GB, free: 1.438 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008199/1.659, allocations: 0.9214 MB / 1.315 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/1.676, allocations: 3.519 MB / 1.318 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/1.676, allocations: 89.94 kB / 1.318 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005378/1.676, allocations: 116 kB / 1.318 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005335/1.682, allocations: 1.482 MB / 1.32 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.584e-05/1.682, allocations: 7.938 kB / 1.32 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/1.682, allocations: 47.98 kB / 1.32 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.983e-05/1.682, allocations: 34 kB / 1.32 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005554/1.688, allocations: 1.327 MB / 1.321 GB, free: 9.766 MB / 1.045 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.02263/1.71, allocations: 6.938 MB / 1.328 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/1.715, allocations: 1.137 MB / 1.329 GB, free: 1.277 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/1.717, allocations: 498.3 kB / 1.329 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00682/1.724, allocations: 2.734 MB / 1.332 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/1.724, allocations: 39.12 kB / 1.332 GB, free: 13.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=60): time 4.669e-06/1.724, allocations: 3.938 kB / 1.332 GB, free: 13.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=60): time 0.009039/1.733, allocations: 1.735 MB / 1.334 GB, free: 12.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/1.733, allocations: 55.97 kB / 1.334 GB, free: 11.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006658/1.74, allocations: 2.587 MB / 1.336 GB, free: 9.355 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002541/1.74, allocations: 41.7 kB / 1.336 GB, free: 9.309 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001448/1.742, allocations: 1.013 MB / 1.337 GB, free: 8.285 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/1.742, allocations: 220.9 kB / 1.338 GB, free: 8.066 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/1.744, allocations: 447 kB / 1.338 GB, free: 7.625 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.744, allocations: 301.1 kB / 1.338 GB, free: 7.328 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003966/1.748, allocations: 1.145 MB / 1.339 GB, free: 6.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004222/1.752, allocations: 1.538 MB / 1.341 GB, free: 4.492 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00699/1.759, allocations: 2.465 MB / 1.343 GB, free: 1.918 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/1.759, allocations: 4 kB / 1.343 GB, free: 1.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.0106/1.77, allocations: 3.053 MB / 1.346 GB, free: 14.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/1.77, allocations: 8 kB / 1.346 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/1.77, allocations: 8 kB / 1.346 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/1.771, allocations: 152.8 kB / 1.346 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/1.773, allocations: 360 kB / 1.347 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/1.774, allocations: 0.6655 MB / 1.347 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/1.778, allocations: 222.2 kB / 1.348 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000373/1.778, allocations: 104 kB / 1.348 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00451/1.783, allocations: 1.496 MB / 1.349 GB, free: 11.81 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00386/1.787, allocations: 1.35 MB / 1.351 GB, free: 10.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006025/1.793, allocations: 2.098 MB / 1.353 GB, free: 8.109 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.12e-05/1.793, allocations: 4 kB / 1.353 GB, free: 8.105 MB / 1.076 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.009334/1.802, allocations: 2.697 MB / 1.355 GB, free: 5.395 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/1.802, allocations: 11.98 kB / 1.355 GB, free: 5.383 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/1.802, allocations: 8.625 kB / 1.355 GB, free: 5.375 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/1.804, allocations: 208.7 kB / 1.355 GB, free: 5.168 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.807, allocations: 347.5 kB / 1.356 GB, free: 4.828 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.817, allocations: 3.504 MB / 1.359 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/1.82, allocations: 183.5 kB / 1.359 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000475/1.821, allocations: 79.97 kB / 1.359 GB, free: 0.8516 MB / 1.076 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.000724/1.822, allocations: 252.4 kB / 1.36 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008942/1.823, allocations: 232.9 kB / 1.36 GB, free: 376 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006997/1.83, allocations: 1.571 MB / 1.361 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/1.83, allocations: 3.984 kB / 1.361 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/1.83, allocations: 4 kB / 1.361 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.831, allocations: 429.6 kB / 1.362 GB, free: 14.33 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006736/1.832, allocations: 19.98 kB / 1.362 GB, free: 14.31 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/1.834, allocations: 71.92 kB / 1.362 GB, free: 14.24 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.834, allocations: 56.58 kB / 1.362 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009472/1.844, allocations: 1.31 MB / 1.363 GB, free: 12.87 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007519/1.851, allocations: 2.056 MB / 1.365 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002064/1.854, allocations: 0.501 MB / 1.366 GB, free: 10.29 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.009439/1.863, allocations: 1.73 MB / 1.367 GB, free: 8.559 MB / 1.092 GB Notification: Performance of Backend: time 1.203e-06/1.863, allocations: 0 / 1.367 GB, free: 8.559 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02275/1.886, allocations: 3.786 MB / 1.371 GB, free: 4.77 MB / 1.092 GB Notification: Performance of SimCode: time 0.01683/1.903, allocations: 5.323 MB / 1.376 GB, free: 15.43 MB / 1.107 GB Notification: Performance of Templates: time 0.2402/2.143, allocations: 60.69 MB / 1.436 GB, free: 3.285 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches