Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005794/0.005794, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001264/0.001264, allocations: 195 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.68/2.68, allocations: 472.6 MB / 0.7453 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 59.91 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8073/0.8095, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03281/0.8423, allocations: 33.21 MB / 1.258 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.8595, allocations: 12.3 MB / 1.27 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.8614, allocations: 55.69 kB / 1.27 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004323/0.8658, allocations: 1.533 MB / 1.272 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.8703, allocations: 1.737 MB / 1.273 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.8741, allocations: 1.504 MB / 1.275 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.8844, allocations: 7.793 MB / 1.282 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003162/0.8875, allocations: 2.106 MB / 1.284 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.8921, allocations: 1.915 MB / 1.286 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.8946, allocations: 1.435 MB / 1.288 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006411/0.8953, allocations: 155.9 kB / 1.288 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.8987, allocations: 1.346 MB / 1.289 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008816/0.8996, allocations: 0.6072 MB / 1.29 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.9016, allocations: 1.193 MB / 1.291 GB, free: 10.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005774/0.9074, allocations: 3.557 MB / 1.294 GB, free: 6.875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.9075, allocations: 0 / 1.294 GB, free: 6.875 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9075, allocations: 0 / 1.294 GB, free: 6.875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000114/0.9076, allocations: 0 / 1.294 GB, free: 6.875 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005235/0.9128, allocations: 2.898 MB / 1.297 GB, free: 3.895 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9129, allocations: 12.03 kB / 1.297 GB, free: 3.883 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.9148, allocations: 438.1 kB / 1.298 GB, free: 3.453 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004415/0.9192, allocations: 2.773 MB / 1.3 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/0.9193, allocations: 82 kB / 1.3 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.9195, allocations: 108 kB / 1.301 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.9217, allocations: 1.323 MB / 1.302 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.9218, allocations: 0 / 1.302 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.9219, allocations: 44 kB / 1.302 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.9219, allocations: 24 kB / 1.302 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.924, allocations: 1.026 MB / 1.303 GB, free: 13.93 MB / 1.029 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.00776/0.9318, allocations: 6.911 MB / 1.31 GB, free: 6.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.9331, allocations: 0.5964 MB / 1.31 GB, free: 5.988 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000728/0.9339, allocations: 390.4 kB / 1.311 GB, free: 5.605 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002788/0.9367, allocations: 1.778 MB / 1.312 GB, free: 3.688 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008226/0.9375, allocations: 374.9 kB / 1.313 GB, free: 3.309 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005721/0.9381, allocations: 95.36 kB / 1.313 GB, free: 3.215 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 3.186e-06/0.9381, allocations: 0 / 1.313 GB, free: 3.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.003719/0.9418, allocations: 1.373 MB / 1.314 GB, free: 1.812 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.9419, allocations: 55.41 kB / 1.314 GB, free: 1.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.9457, allocations: 2.388 MB / 1.316 GB, free: 15.34 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.9458, allocations: 41.7 kB / 1.317 GB, free: 15.29 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009879/0.9468, allocations: 1.001 MB / 1.317 GB, free: 14.28 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.947, allocations: 170.6 kB / 1.318 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004511/0.9474, allocations: 302.7 kB / 1.318 GB, free: 13.81 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9476, allocations: 361.9 kB / 1.318 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009726/0.9486, allocations: 0.494 MB / 1.319 GB, free: 12.95 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.9499, allocations: 0.9931 MB / 1.32 GB, free: 11.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.952, allocations: 1.335 MB / 1.321 GB, free: 10.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.952, allocations: 4 kB / 1.321 GB, free: 10.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003576/0.9556, allocations: 1.805 MB / 1.323 GB, free: 8.426 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.9556, allocations: 41.62 kB / 1.323 GB, free: 8.379 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.9557, allocations: 12 kB / 1.323 GB, free: 8.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007079/0.9564, allocations: 201.2 kB / 1.323 GB, free: 8.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000837/0.9572, allocations: 219.7 kB / 1.323 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007114/0.958, allocations: 0.7591 MB / 1.324 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.9594, allocations: 71.95 kB / 1.324 GB, free: 7.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.9595, allocations: 63.95 kB / 1.324 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001737/0.9613, allocations: 1.026 MB / 1.325 GB, free: 6.004 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001215/0.9625, allocations: 0.9697 MB / 1.326 GB, free: 4.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001916/0.9644, allocations: 1.307 MB / 1.327 GB, free: 3.355 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.011e-05/0.9644, allocations: 3.938 kB / 1.327 GB, free: 3.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003217/0.9677, allocations: 1.806 MB / 1.329 GB, free: 1.504 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.9677, allocations: 39.25 kB / 1.329 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.9677, allocations: 12 kB / 1.329 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.968, allocations: 121.4 kB / 1.329 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/0.9688, allocations: 223.6 kB / 1.33 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.9711, allocations: 2.325 MB / 1.332 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.9726, allocations: 80.3 kB / 1.332 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.9727, allocations: 55.98 kB / 1.332 GB, free: 14.51 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003324/0.973, allocations: 251.9 kB / 1.332 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/0.9735, allocations: 230.5 kB / 1.332 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.976, allocations: 1.033 MB / 1.333 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.976, allocations: 11.98 kB / 1.333 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.976, allocations: 0 / 1.333 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001666/0.9777, allocations: 0.9623 MB / 1.334 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/0.9823, allocations: 2.319 MB / 1.337 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9823, allocations: 0 / 1.337 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.9828, allocations: 91.86 kB / 1.337 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/0.9831, allocations: 132.4 kB / 1.337 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.9832, allocations: 15.98 kB / 1.337 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006145/0.9838, allocations: 0.7397 MB / 1.338 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9838, allocations: 0 / 1.338 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.9867, allocations: 1.418 MB / 1.339 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/0.9875, allocations: 371.5 kB / 1.339 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/0.988, allocations: 8 kB / 1.339 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009564/0.9889, allocations: 43.95 kB / 1.339 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.9891, allocations: 40.38 kB / 1.339 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.9891, allocations: 20.05 kB / 1.339 GB, free: 6.621 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002912/0.9921, allocations: 1.627 MB / 1.341 GB, free: 4.984 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9921, allocations: 4 kB / 1.341 GB, free: 4.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003025/0.9951, allocations: 0.9593 MB / 1.342 GB, free: 4.02 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/0.9965, allocations: 0.524 MB / 1.342 GB, free: 3.492 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004064/1.001, allocations: 2.013 MB / 1.344 GB, free: 1.445 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.001, allocations: 448 / 1.344 GB, free: 1.445 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008277/1.001, allocations: 342.3 kB / 1.345 GB, free: 1.109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/1.006, allocations: 0.9784 MB / 1.346 GB, free: 148 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/1.014, allocations: 3.71 MB / 1.349 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/1.015, allocations: 1.678 MB / 1.351 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002095/1.017, allocations: 0.5632 MB / 1.351 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004805/1.018, allocations: 159.4 kB / 1.352 GB, free: 9.957 MB / 1.076 GB Notification: Performance of SimCode: time 8.01e-07/1.018, allocations: 0 / 1.352 GB, free: 9.957 MB / 1.076 GB Notification: Performance of Templates: time 0.0672/1.085, allocations: 39.7 MB / 1.39 GB, free: 2.762 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches