Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.002083/0.002083, allocations: 110 kB / 18.93 MB, free: 2.945 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.002456/0.002456, allocations: 185.8 kB / 22.23 MB, free: 5.16 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.513/1.513, allocations: 225.6 MB / 251 MB, free: 13.01 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.185/3.185, allocations: 495.7 MB / 0.7831 GB, free: 33.64 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU")
translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 72.23 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3929, allocations: 173.6 MB / 1.307 GB, free: 1.98 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00313/0.396, allocations: 1.454 MB / 1.308 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0007887/0.3968, allocations: 403.1 kB / 1.309 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.3969, allocations: 0 / 1.309 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.3969, allocations: 3.938 kB / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.3969, allocations: 7.938 kB / 1.309 GB, free: 108 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.3971, allocations: 7.984 kB / 1.309 GB, free: 100 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.3972, allocations: 23.92 kB / 1.309 GB, free: 76 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.3973, allocations: 4 kB / 1.309 GB, free: 72 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3974, allocations: 19.86 kB / 1.309 GB, free: 52 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.3974, allocations: 11.98 kB / 1.309 GB, free: 40 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3975, allocations: 4 kB / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.859e-06/0.3975, allocations: 0 / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.3975, allocations: 7.922 kB / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.3975, allocations: 15.94 kB / 1.309 GB, free: 12 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.3976, allocations: 20.02 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3976, allocations: 3.984 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.733e-06/0.3976, allocations: 0 / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.41e-06/0.3976, allocations: 4 kB / 1.309 GB, free: 15.98 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.000473/0.3981, allocations: 258.4 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3982, allocations: 8.031 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.3982, allocations: 0.9375 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3983, allocations: 118.4 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3983, allocations: 8.375 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.3984, allocations: 384 / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3985, allocations: 49.92 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3985, allocations: 0 / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3985, allocations: 8 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3985, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.457e-05/0.3986, allocations: 15.98 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.3991, allocations: 228 kB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3992, allocations: 34.5 kB / 1.31 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.3992, allocations: 16.92 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3992, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3993, allocations: 30.56 kB / 1.31 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3993, allocations: 0 / 1.31 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.000267/0.3995, allocations: 65.67 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3996, allocations: 51.41 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3997, allocations: 105.8 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3997, allocations: 29.64 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.3998, allocations: 84.14 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.3998, allocations: 7.953 kB / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.3999, allocations: 13.7 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001575/0.4, allocations: 319 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.4001, allocations: 8 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.4001, allocations: 11.92 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.394e-05/0.4002, allocations: 28.78 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4002, allocations: 0 / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/0.4003, allocations: 53.64 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4003, allocations: 8.094 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4003, allocations: 7.938 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4003, allocations: 0 / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.4004, allocations: 11.92 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4004, allocations: 0 / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.4005, allocations: 0 / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4005, allocations: 8 kB / 1.31 GB, free: 14.24 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * 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 (2):
 * Single equations (assignments): 2
 * 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 9.583e-05/0.4006, allocations: 113.7 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.4006, allocations: 4 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.4006, allocations: 7.625 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4006, allocations: 3.984 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4006, allocations: 0 / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4006, allocations: 0 / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.4008, allocations: 132.7 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4008, allocations: 4 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.4009, allocations: 4 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4009, allocations: 0 / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4009, allocations: 3.984 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4009, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4009, allocations: 256 / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.4011, allocations: 151.4 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.4011, allocations: 7.953 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.4011, allocations: 4 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.4012, allocations: 7.984 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.4012, allocations: 4 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4012, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.206e-05/0.4013, allocations: 83.31 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4013, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.00022/0.4015, allocations: 7.984 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (2):
 * Single equations (assignments): 2
 * 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.0001435/0.4016, allocations: 100 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001542/0.4018, allocations: 19.98 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4018, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.4018, allocations: 12 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.4021, allocations: 11.98 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.4024, allocations: 118.8 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4027, allocations: 0.6729 MB / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.165e-05/0.4028, allocations: 11.97 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.4028, allocations: 15.31 kB / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of SimCode: time 3.01e-07/0.4028, allocations: 0 / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of Templates: time 0.002782/0.4056, allocations: 326.8 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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: 8.909812507219613]