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.001669/0.001669, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001983/0.001984, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.42/1.42, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.896/2.896, allocations: 489.2 MB / 0.7687 GB, free: 3.797 MB / 0.6075 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.001901/0.001901, allocations: 67.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9377/0.9396, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03441/0.9741, allocations: 33.23 MB / 1.295 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02047/0.9946, allocations: 12.3 MB / 1.307 GB, free: 7.594 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.9971, allocations: 57.34 kB / 1.307 GB, free: 7.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005347/1.002, allocations: 1.538 MB / 1.309 GB, free: 6.918 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00581/1.008, allocations: 1.754 MB / 1.31 GB, free: 5.902 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004788/1.013, allocations: 1.499 MB / 1.312 GB, free: 5.152 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01256/1.026, allocations: 7.547 MB / 1.319 GB, free: 2.211 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004088/1.03, allocations: 2.122 MB / 1.321 GB, free: 1.289 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005768/1.036, allocations: 2.01 MB / 1.323 GB, free: 440 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/1.039, allocations: 1.418 MB / 1.325 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008428/1.04, allocations: 150.6 kB / 1.325 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004822/1.045, allocations: 1.344 MB / 1.326 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/1.046, allocations: 0.603 MB / 1.327 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003571/1.05, allocations: 1.2 MB / 1.328 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008111/1.058, allocations: 3.549 MB / 1.331 GB, free: 13.03 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/1.058, allocations: 1.062 kB / 1.331 GB, free: 13.03 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.394e-06/1.058, allocations: 3.938 kB / 1.331 GB, free: 13.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.809e-05/1.058, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.045 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.006628/1.065, allocations: 2.892 MB / 1.334 GB, free: 11.1 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.065, allocations: 10.41 kB / 1.334 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/1.067, allocations: 447.2 kB / 1.334 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/1.073, allocations: 2.772 MB / 1.337 GB, free: 9.578 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.073, allocations: 79.78 kB / 1.337 GB, free: 9.547 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/1.073, allocations: 106.2 kB / 1.337 GB, free: 9.516 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/1.076, allocations: 1.323 MB / 1.339 GB, free: 8.879 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/1.076, allocations: 2 kB / 1.339 GB, free: 8.879 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/1.076, allocations: 46.52 kB / 1.339 GB, free: 8.844 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/1.076, allocations: 24.41 kB / 1.339 GB, free: 8.844 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/1.078, allocations: 1.021 MB / 1.34 GB, free: 8.508 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.01013/1.089, allocations: 6.824 MB / 1.346 GB, free: 3.324 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/1.09, allocations: 0.5901 MB / 1.347 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007903/1.091, allocations: 399 kB / 1.347 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003389/1.094, allocations: 1.771 MB / 1.349 GB, free: 1.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008298/1.095, allocations: 368 kB / 1.349 GB, free: 1.039 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007032/1.096, allocations: 94.53 kB / 1.35 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of pre-optimization done (n=44): time 2.325e-06/1.096, allocations: 0 / 1.35 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of matching and sorting (n=44): time 0.003751/1.1, allocations: 1.378 MB / 1.351 GB, free: 212 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.1, allocations: 56.47 kB / 1.351 GB, free: 148 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/1.103, allocations: 2.381 MB / 1.353 GB, free: 14.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.103, allocations: 44.08 kB / 1.353 GB, free: 14.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/1.104, allocations: 1.004 MB / 1.354 GB, free: 13.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/1.105, allocations: 169.8 kB / 1.354 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000453/1.105, allocations: 299.8 kB / 1.355 GB, free: 13.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001981/1.105, allocations: 359.8 kB / 1.355 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/1.106, allocations: 0.5002 MB / 1.356 GB, free: 13.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/1.108, allocations: 0.9915 MB / 1.357 GB, free: 12.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/1.11, allocations: 1.342 MB / 1.358 GB, free: 11.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/1.11, allocations: 2.75 kB / 1.358 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003822/1.114, allocations: 1.804 MB / 1.36 GB, free: 10.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/1.114, allocations: 42.89 kB / 1.36 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/1.114, allocations: 10.59 kB / 1.36 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/1.115, allocations: 196.8 kB / 1.36 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/1.115, allocations: 224.2 kB / 1.36 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007301/1.116, allocations: 0.7622 MB / 1.361 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/1.118, allocations: 72.3 kB / 1.361 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.118, allocations: 55.2 kB / 1.361 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001812/1.12, allocations: 1.023 MB / 1.362 GB, free: 8.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00135/1.121, allocations: 0.9667 MB / 1.363 GB, free: 7.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001923/1.123, allocations: 1.311 MB / 1.364 GB, free: 6.949 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.652e-06/1.123, allocations: 2.188 kB / 1.364 GB, free: 6.949 MB / 1.061 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003343/1.126, allocations: 1.807 MB / 1.366 GB, free: 5.953 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/1.126, allocations: 35.73 kB / 1.366 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.126, allocations: 12.38 kB / 1.366 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/1.127, allocations: 125.8 kB / 1.366 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/1.127, allocations: 221.3 kB / 1.366 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/1.13, allocations: 2.334 MB / 1.369 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/1.132, allocations: 73.7 kB / 1.369 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.132, allocations: 53.77 kB / 1.369 GB, free: 3.734 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.000377/1.132, allocations: 257.1 kB / 1.369 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004141/1.132, allocations: 230.8 kB / 1.369 GB, free: 3.367 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/1.135, allocations: 1.032 MB / 1.37 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/1.135, allocations: 4.469 kB / 1.37 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/1.135, allocations: 1.281 kB / 1.37 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001724/1.137, allocations: 0.9587 MB / 1.371 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004724/1.141, allocations: 2.319 MB / 1.373 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/1.141, allocations: 0 / 1.373 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/1.142, allocations: 97.97 kB / 1.373 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/1.142, allocations: 116.6 kB / 1.374 GB, free: 500 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/1.142, allocations: 18.64 kB / 1.374 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006874/1.143, allocations: 0.7396 MB / 1.374 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.143, allocations: 0 / 1.374 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/1.146, allocations: 1.42 MB / 1.376 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.147, allocations: 367.4 kB / 1.376 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/1.147, allocations: 11.94 kB / 1.376 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008027/1.148, allocations: 42.39 kB / 1.376 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.148, allocations: 46.84 kB / 1.376 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/1.148, allocations: 22.36 kB / 1.376 GB, free: 14.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002804/1.151, allocations: 1.625 MB / 1.378 GB, free: 13.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.151, allocations: 0 / 1.378 GB, free: 13.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003892/1.155, allocations: 0.9584 MB / 1.379 GB, free: 13.59 MB / 1.076 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.001545/1.157, allocations: 0.5266 MB / 1.379 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003899/1.161, allocations: 2.006 MB / 1.381 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.161, allocations: 8 kB / 1.381 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000802/1.161, allocations: 342.8 kB / 1.381 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00458/1.166, allocations: 0.9766 MB / 1.382 GB, free: 11.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007663/1.174, allocations: 3.792 MB / 1.386 GB, free: 7.797 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.175, allocations: 1.662 MB / 1.388 GB, free: 6.102 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/1.176, allocations: 167.4 kB / 1.388 GB, free: 5.938 MB / 1.076 GB Notification: Performance of SimCode: time 7.31e-07/1.176, allocations: 0 / 1.388 GB, free: 5.938 MB / 1.076 GB Notification: Performance of Templates: time 0.06435/1.24, allocations: 45.39 MB / 1.432 GB, free: 8.781 MB / 1.123 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.866831881925464]