Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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.001565/0.001565, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001622/0.001622, allocations: 186 kB / 22.23 MB, free: 5.137 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.635/1.635, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.378/3.378, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay")
translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002914/0.002914, allocations: 67.25 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4963, allocations: 174.9 MB / 1.316 GB, free: 9.777 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2754/0.7718, allocations: 184.2 MB / 1.496 GB, free: 0.8359 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.01042/0.7822, allocations: 4.899 MB / 1.501 GB, free: 11.93 MB / 1.201 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.7837, allocations: 47.56 kB / 1.501 GB, free: 11.88 MB / 1.201 GB
Notification: Performance of NFTyping.typeComponents: time 0.001637/0.7853, allocations: 449.3 kB / 1.501 GB, free: 11.44 MB / 1.201 GB
Notification: Performance of NFTyping.typeBindings: time 0.005207/0.7905, allocations: 1.497 MB / 1.503 GB, free: 9.938 MB / 1.201 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.7935, allocations: 0.8129 MB / 1.503 GB, free: 9.129 MB / 1.201 GB
Notification: Performance of NFFlatten.flatten: time 0.003834/0.7973, allocations: 1.89 MB / 1.505 GB, free: 7.227 MB / 1.201 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009115/0.7982, allocations: 472.9 kB / 1.506 GB, free: 6.75 MB / 1.201 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.8016, allocations: 1.121 MB / 1.507 GB, free: 5.625 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.8035, allocations: 0.571 MB / 1.507 GB, free: 5.055 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.8036, allocations: 60 kB / 1.507 GB, free: 4.996 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003617/0.8073, allocations: 1.493 MB / 1.509 GB, free: 3.492 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004015/0.8077, allocations: 267.2 kB / 1.509 GB, free: 3.23 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.8083, allocations: 410 kB / 1.51 GB, free: 2.828 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.003571/0.8118, allocations: 1.429 MB / 1.511 GB, free: 1.395 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.8118, allocations: 0 / 1.511 GB, free: 1.395 MB / 1.201 GB
Notification: Performance of FrontEnd: time 2.715e-06/0.8118, allocations: 0 / 1.511 GB, free: 1.395 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 1.405e-05/0.8119, allocations: 0 / 1.511 GB, free: 1.395 MB / 1.201 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 113
 * Number of variables: 113
Notification: Performance of Generate backend data structure: time 0.002393/0.8143, allocations: 1.045 MB / 1.512 GB, free: 324 kB / 1.201 GB
Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.8143, allocations: 12.03 kB / 1.512 GB, free: 312 kB / 1.201 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.8158, allocations: 211.3 kB / 1.512 GB, free: 100 kB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.8171, allocations: 0.5523 MB / 1.513 GB, free: 15.52 MB / 1.217 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.8172, allocations: 37 kB / 1.513 GB, free: 15.48 MB / 1.217 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.8173, allocations: 48 kB / 1.513 GB, free: 15.43 MB / 1.217 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.8184, allocations: 498.3 kB / 1.513 GB, free: 14.95 MB / 1.217 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.8184, allocations: 8 kB / 1.513 GB, free: 14.94 MB / 1.217 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.8185, allocations: 16 kB / 1.513 GB, free: 14.92 MB / 1.217 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.8185, allocations: 20.98 kB / 1.513 GB, free: 14.9 MB / 1.217 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008991/0.8194, allocations: 435.7 kB / 1.514 GB, free: 14.48 MB / 1.217 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.003485/0.8229, allocations: 2.045 MB / 1.516 GB, free: 12.24 MB / 1.217 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.8236, allocations: 336.1 kB / 1.516 GB, free: 11.9 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.824, allocations: 201.9 kB / 1.516 GB, free: 11.7 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.8243, allocations: 48.22 kB / 1.516 GB, free: 11.66 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.8243, allocations: 34.84 kB / 1.516 GB, free: 11.61 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=33): time 2.725e-06/0.8243, allocations: 0 / 1.516 GB, free: 11.61 MB / 1.217 GB
Notification: Performance of matching and sorting (n=33): time 0.001486/0.8258, allocations: 0.5466 MB / 1.517 GB, free: 11.06 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.8259, allocations: 63.28 kB / 1.517 GB, free: 10.99 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007152/0.8266, allocations: 0.5107 MB / 1.517 GB, free: 10.46 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.8267, allocations: 33.7 kB / 1.517 GB, free: 10.43 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.827, allocations: 300.6 kB / 1.518 GB, free: 10.13 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.8271, allocations: 122.9 kB / 1.518 GB, free: 10.01 MB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.8273, allocations: 77.98 kB / 1.518 GB, free: 9.926 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0002488/0.8275, allocations: 366.8 kB / 1.518 GB, free: 9.559 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.8278, allocations: 138.1 kB / 1.518 GB, free: 9.422 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.8282, allocations: 215.7 kB / 1.519 GB, free: 9.188 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.8289, allocations: 335 kB / 1.519 GB, free: 8.848 MB / 1.217 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8289, allocations: 0 / 1.519 GB, free: 8.848 MB / 1.217 GB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008303/0.8297, allocations: 437 kB / 1.519 GB, free: 8.414 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.8297, allocations: 7.938 kB / 1.519 GB, free: 8.406 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.8297, allocations: 0 / 1.519 GB, free: 8.406 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.8298, allocations: 4 kB / 1.519 GB, free: 8.402 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.8301, allocations: 75.89 kB / 1.519 GB, free: 8.328 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.8301, allocations: 7.875 kB / 1.519 GB, free: 8.32 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.8306, allocations: 39.92 kB / 1.519 GB, free: 8.281 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.8306, allocations: 12 kB / 1.519 GB, free: 8.27 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005303/0.8311, allocations: 308 kB / 1.52 GB, free: 7.965 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003512/0.8315, allocations: 211.4 kB / 1.52 GB, free: 7.734 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005937/0.8321, allocations: 335.2 kB / 1.52 GB, free: 7.395 MB / 1.217 GB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.8321, allocations: 0 / 1.52 GB, free: 7.395 MB / 1.217 GB
Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007964/0.8329, allocations: 421 kB / 1.521 GB, free: 6.977 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.8329, allocations: 12.03 kB / 1.521 GB, free: 6.965 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8329, allocations: 7.984 kB / 1.521 GB, free: 6.957 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.8329, allocations: 0 / 1.521 GB, free: 6.957 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.8332, allocations: 71.91 kB / 1.521 GB, free: 6.887 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8332, allocations: 4 kB / 1.521 GB, free: 6.883 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.8337, allocations: 35.75 kB / 1.521 GB, free: 6.848 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.8337, allocations: 15.98 kB / 1.521 GB, free: 6.832 MB / 1.217 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (39):
 * Single equations (assignments): 39
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.8339, allocations: 204.8 kB / 1.521 GB, free: 6.625 MB / 1.217 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.8341, allocations: 63.62 kB / 1.521 GB, free: 6.562 MB / 1.217 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008716/0.8349, allocations: 419 kB / 1.521 GB, free: 6.148 MB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.8349, allocations: 4 kB / 1.522 GB, free: 6.145 MB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8349, allocations: 3.938 kB / 1.522 GB, free: 6.141 MB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007044/0.8356, allocations: 429.6 kB / 1.522 GB, free: 5.691 MB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.8378, allocations: 1.148 MB / 1.523 GB, free: 4.477 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8378, allocations: 4 kB / 1.523 GB, free: 4.473 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.8382, allocations: 88.08 kB / 1.523 GB, free: 4.387 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.8382, allocations: 4 kB / 1.523 GB, free: 4.383 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.8383, allocations: 8 kB / 1.523 GB, free: 4.375 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.8383, allocations: 16.05 kB / 1.523 GB, free: 4.359 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8383, allocations: 0 / 1.523 GB, free: 4.359 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.8395, allocations: 0.7034 MB / 1.524 GB, free: 3.621 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.8398, allocations: 111.5 kB / 1.524 GB, free: 3.512 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.8398, allocations: 8 kB / 1.524 GB, free: 3.504 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.8403, allocations: 23.97 kB / 1.524 GB, free: 3.48 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.8403, allocations: 23.97 kB / 1.524 GB, free: 3.457 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.8404, allocations: 15.98 kB / 1.524 GB, free: 3.441 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.000495/0.8409, allocations: 366.8 kB / 1.524 GB, free: 3.086 MB / 1.217 GB
Notification: Performance of sort global known variables: time 8e-08/0.8409, allocations: 0 / 1.524 GB, free: 3.086 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.0009427/0.8418, allocations: 327.3 kB / 1.525 GB, free: 2.766 MB / 1.217 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m)
 * 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 (33):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005831/0.8424, allocations: 199.6 kB / 1.525 GB, free: 2.574 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.001112/0.8435, allocations: 0.4993 MB / 1.525 GB, free: 2.074 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8435, allocations: 7.938 kB / 1.525 GB, free: 2.066 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.8439, allocations: 173.5 kB / 1.526 GB, free: 1.898 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.8454, allocations: 344.4 kB / 1.526 GB, free: 1.562 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.8477, allocations: 1.252 MB / 1.527 GB, free: 268 kB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/0.8485, allocations: 0.9372 MB / 1.528 GB, free: 15.3 MB / 1.232 GB
Notification: Performance of simCode: alias equations: time 0.0006251/0.8491, allocations: 180.8 kB / 1.528 GB, free: 15.12 MB / 1.232 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.8493, allocations: 47.44 kB / 1.528 GB, free: 15.07 MB / 1.232 GB
Notification: Performance of SimCode: time 1.302e-06/0.8493, allocations: 0 / 1.528 GB, free: 15.07 MB / 1.232 GB
Notification: Performance of Templates: time 0.02659/0.8759, allocations: 12.07 MB / 1.54 GB, free: 3.168 MB / 1.232 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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.94214996136725]