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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 496.2 MB / 0.7819 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.91 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.138, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02932/1.168, allocations: 33.82 MB / 1.338 GB, free: 9.488 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01961/1.187, allocations: 12.41 MB / 1.351 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/1.19, allocations: 53.31 kB / 1.351 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005596/1.196, allocations: 1.56 MB / 1.352 GB, free: 128 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00731/1.203, allocations: 1.785 MB / 1.354 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00593/1.209, allocations: 1.514 MB / 1.355 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01681/1.226, allocations: 7.624 MB / 1.363 GB, free: 11.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004586/1.231, allocations: 1.64 MB / 1.364 GB, free: 10.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007405/1.238, allocations: 2.067 MB / 1.366 GB, free: 9.727 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/1.243, allocations: 1.477 MB / 1.368 GB, free: 9.066 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001097/1.244, allocations: 151 kB / 1.368 GB, free: 9.066 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00573/1.249, allocations: 1.374 MB / 1.369 GB, free: 8.672 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001696/1.251, allocations: 0.6193 MB / 1.37 GB, free: 8.359 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004376/1.255, allocations: 1.201 MB / 1.371 GB, free: 7.625 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/1.266, allocations: 3.558 MB / 1.375 GB, free: 6.297 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.266, allocations: 4.812 kB / 1.375 GB, free: 6.293 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.502e-06/1.266, allocations: 0 / 1.375 GB, free: 6.293 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001637/1.266, allocations: 0 / 1.375 GB, free: 6.293 MB / 1.076 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.01142/1.278, allocations: 2.896 MB / 1.377 GB, free: 4.367 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.278, allocations: 16.44 kB / 1.377 GB, free: 4.363 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/1.281, allocations: 445 kB / 1.378 GB, free: 4.207 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00827/1.289, allocations: 2.78 MB / 1.381 GB, free: 2.832 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/1.289, allocations: 83.14 kB / 1.381 GB, free: 2.797 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005536/1.29, allocations: 106 kB / 1.381 GB, free: 2.766 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/1.294, allocations: 1.324 MB / 1.382 GB, free: 2.129 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.073e-05/1.294, allocations: 6.328 kB / 1.382 GB, free: 2.125 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/1.294, allocations: 42.75 kB / 1.382 GB, free: 2.094 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-05/1.294, allocations: 24.77 kB / 1.382 GB, free: 2.094 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/1.297, allocations: 1.025 MB / 1.383 GB, free: 1.758 MB / 1.076 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.01389/1.311, allocations: 6.839 MB / 1.39 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/1.313, allocations: 0.5563 MB / 1.39 GB, free: 12.54 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/1.314, allocations: 362.5 kB / 1.391 GB, free: 12.43 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004445/1.318, allocations: 1.683 MB / 1.392 GB, free: 11.26 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009637/1.319, allocations: 369.8 kB / 1.393 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00129/1.32, allocations: 106.8 kB / 1.393 GB, free: 11.06 MB / 1.092 GB Notification: Performance of pre-optimization done (n=44): time 8.065e-06/1.32, allocations: 0 / 1.393 GB, free: 11.06 MB / 1.092 GB Notification: Performance of matching and sorting (n=44): time 0.004795/1.325, allocations: 1.382 MB / 1.394 GB, free: 10.51 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/1.325, allocations: 57.47 kB / 1.394 GB, free: 10.45 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006864/1.332, allocations: 2.382 MB / 1.397 GB, free: 9.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/1.332, allocations: 40.86 kB / 1.397 GB, free: 9.551 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001794/1.334, allocations: 1.003 MB / 1.398 GB, free: 8.762 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/1.334, allocations: 170.5 kB / 1.398 GB, free: 8.633 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009973/1.335, allocations: 299.8 kB / 1.398 GB, free: 8.5 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002408/1.336, allocations: 360 kB / 1.398 GB, free: 8.172 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/1.337, allocations: 0.4991 MB / 1.399 GB, free: 7.992 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/1.339, allocations: 0.9849 MB / 1.4 GB, free: 7.203 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/1.342, allocations: 1.34 MB / 1.401 GB, free: 6.348 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/1.342, allocations: 7.219 kB / 1.401 GB, free: 6.344 MB / 1.092 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005386/1.347, allocations: 1.802 MB / 1.403 GB, free: 5.609 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.425e-05/1.347, allocations: 41.61 kB / 1.403 GB, free: 5.574 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/1.347, allocations: 11.25 kB / 1.403 GB, free: 5.574 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/1.348, allocations: 191.3 kB / 1.403 GB, free: 5.531 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/1.349, allocations: 226 kB / 1.403 GB, free: 5.508 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000992/1.35, allocations: 0.7657 MB / 1.404 GB, free: 4.906 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/1.352, allocations: 71.69 kB / 1.404 GB, free: 4.887 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/1.352, allocations: 56.14 kB / 1.404 GB, free: 4.879 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003033/1.355, allocations: 1.025 MB / 1.405 GB, free: 4.457 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001781/1.357, allocations: 0.9699 MB / 1.406 GB, free: 3.672 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002507/1.36, allocations: 1.301 MB / 1.407 GB, free: 2.82 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.383e-05/1.36, allocations: 3.312 kB / 1.407 GB, free: 2.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.004714/1.364, allocations: 1.8 MB / 1.409 GB, free: 2.008 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/1.364, allocations: 37.28 kB / 1.409 GB, free: 1.977 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/1.364, allocations: 11.25 kB / 1.409 GB, free: 1.977 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/1.365, allocations: 124.5 kB / 1.409 GB, free: 1.945 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/1.366, allocations: 229.6 kB / 1.41 GB, free: 1.914 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/1.369, allocations: 2.328 MB / 1.412 GB, free: 56 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.371, allocations: 84.7 kB / 1.412 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/1.371, allocations: 52.62 kB / 1.412 GB, free: 24 kB / 1.092 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.0005774/1.372, allocations: 250.7 kB / 1.412 GB, free: 15.79 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009467/1.373, allocations: 223 kB / 1.412 GB, free: 15.67 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/1.376, allocations: 1.034 MB / 1.413 GB, free: 15.27 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.376, allocations: 5.25 kB / 1.413 GB, free: 15.27 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.376, allocations: 0.6094 kB / 1.413 GB, free: 15.27 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001966/1.378, allocations: 0.9604 MB / 1.414 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007141/1.385, allocations: 2.307 MB / 1.417 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.385, allocations: 1.5 kB / 1.417 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/1.386, allocations: 89.48 kB / 1.417 GB, free: 13.23 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003596/1.386, allocations: 116.3 kB / 1.417 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/1.386, allocations: 26.38 kB / 1.417 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007837/1.387, allocations: 0.7437 MB / 1.418 GB, free: 12.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.387, allocations: 0 / 1.418 GB, free: 12.52 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/1.391, allocations: 1.412 MB / 1.419 GB, free: 11.69 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.392, allocations: 360.2 kB / 1.419 GB, free: 11.4 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.393, allocations: 10.75 kB / 1.419 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.395, allocations: 55.7 kB / 1.419 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.395, allocations: 38.55 kB / 1.419 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/1.395, allocations: 26.31 kB / 1.419 GB, free: 11.33 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00444/1.4, allocations: 1.621 MB / 1.421 GB, free: 10.46 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/1.4, allocations: 4 kB / 1.421 GB, free: 10.45 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0065/1.406, allocations: 0.9552 MB / 1.422 GB, free: 10.28 MB / 1.107 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.002305/1.408, allocations: 0.5207 MB / 1.422 GB, free: 9.996 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005302/1.414, allocations: 1.874 MB / 1.424 GB, free: 8.977 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.414, allocations: 2.719 kB / 1.424 GB, free: 8.977 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009868/1.415, allocations: 309.9 kB / 1.425 GB, free: 8.84 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006936/1.422, allocations: 0.9915 MB / 1.426 GB, free: 8.316 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.433, allocations: 3.727 MB / 1.429 GB, free: 6.238 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/1.435, allocations: 1.671 MB / 1.431 GB, free: 5.051 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002872/1.438, allocations: 0.5435 MB / 1.431 GB, free: 4.797 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/1.438, allocations: 165.7 kB / 1.431 GB, free: 4.762 MB / 1.107 GB Notification: Performance of SimCode: time 1.573e-06/1.438, allocations: 0 / 1.431 GB, free: 4.762 MB / 1.107 GB Notification: Performance of Templates: time 0.08134/1.519, allocations: 40.26 MB / 1.471 GB, free: 13.8 MB / 1.154 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.998283984139562]