Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.00175/0.00175, 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.002242/0.002242, allocations: 190.2 kB / 22.23 MB, free: 5.156 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.589/1.589, allocations: 225.6 MB / 251 MB, free: 13 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.386/3.386, allocations: 0.4893 GB / 0.7884 GB, free: 33.22 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.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T")
translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 66.25 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.432, allocations: 174.9 MB / 1.316 GB, free: 9.762 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002198/0.4342, allocations: 0.7104 MB / 1.317 GB, free: 9.055 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001184/0.4353, allocations: 0.8546 MB / 1.318 GB, free: 8.188 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.4354, allocations: 0 / 1.318 GB, free: 8.188 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.4354, allocations: 7.922 kB / 1.318 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.4355, allocations: 15.88 kB / 1.318 GB, free: 8.164 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.4357, allocations: 23.97 kB / 1.318 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001149/0.4358, allocations: 59.78 kB / 1.318 GB, free: 8.082 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.436, allocations: 15.98 kB / 1.318 GB, free: 8.066 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.4361, allocations: 23.88 kB / 1.318 GB, free: 8.043 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.4362, allocations: 39.83 kB / 1.318 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.4362, allocations: 4 kB / 1.318 GB, free: 8 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.4362, allocations: 8 kB / 1.318 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.4362, allocations: 8 kB / 1.318 GB, free: 7.984 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.4363, allocations: 27.86 kB / 1.318 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.4364, allocations: 67.7 kB / 1.318 GB, free: 7.891 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.4364, allocations: 0 / 1.318 GB, free: 7.891 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.653e-06/0.4364, allocations: 0 / 1.318 GB, free: 7.891 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.392e-06/0.4364, allocations: 0 / 1.318 GB, free: 7.891 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005442/0.437, allocations: 294.1 kB / 1.318 GB, free: 7.57 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.437, allocations: 8.031 kB / 1.318 GB, free: 7.562 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.4371, allocations: 12.88 kB / 1.318 GB, free: 7.551 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.4373, allocations: 138.3 kB / 1.318 GB, free: 7.391 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.4373, allocations: 4.375 kB / 1.318 GB, free: 7.387 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.4374, allocations: 4.375 kB / 1.318 GB, free: 7.383 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.4375, allocations: 58.23 kB / 1.318 GB, free: 7.32 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4375, allocations: 192 / 1.318 GB, free: 7.32 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4375, allocations: 7.938 kB / 1.318 GB, free: 7.312 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4375, allocations: 0 / 1.318 GB, free: 7.312 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4377, allocations: 31.97 kB / 1.318 GB, free: 7.281 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.4381, allocations: 267.8 kB / 1.319 GB, free: 6.977 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.4384, allocations: 74.52 kB / 1.319 GB, free: 6.895 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.4384, allocations: 16.92 kB / 1.319 GB, free: 6.875 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.4385, allocations: 3.984 kB / 1.319 GB, free: 6.871 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.4385, allocations: 34.56 kB / 1.319 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4385, allocations: 0 / 1.319 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0002572/0.4388, allocations: 77.69 kB / 1.319 GB, free: 6.746 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.4388, allocations: 59.41 kB / 1.319 GB, free: 6.676 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.4389, allocations: 118.2 kB / 1.319 GB, free: 6.551 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4389, allocations: 29.64 kB / 1.319 GB, free: 6.516 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.439, allocations: 100.1 kB / 1.319 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.439, allocations: 3.953 kB / 1.319 GB, free: 6.41 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.4391, allocations: 17.72 kB / 1.319 GB, free: 6.387 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001521/0.4392, allocations: 318.8 kB / 1.319 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.4393, allocations: 12 kB / 1.319 GB, free: 6.055 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.616e-05/0.4393, allocations: 37.7 kB / 1.319 GB, free: 6.012 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.4394, allocations: 28.78 kB / 1.319 GB, free: 5.98 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4394, allocations: 0 / 1.319 GB, free: 5.98 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.4395, allocations: 69.62 kB / 1.32 GB, free: 5.906 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.4396, allocations: 4 kB / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4396, allocations: 0 / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4396, allocations: 0 / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.4396, allocations: 12.02 kB / 1.32 GB, free: 5.891 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4396, allocations: 7.938 kB / 1.32 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.4397, allocations: 7.938 kB / 1.32 GB, free: 5.875 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.4397, allocations: 0 / 1.32 GB, free: 5.875 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: 2 (shaT.hys.y,$PRE.shaT.hys.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 4
 * 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.0001019/0.4398, allocations: 122.3 kB / 1.32 GB, free: 5.746 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.4398, allocations: 7.953 kB / 1.32 GB, free: 5.738 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.4399, allocations: 8 kB / 1.32 GB, free: 5.719 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4399, allocations: 0 / 1.32 GB, free: 5.719 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4399, allocations: 4 kB / 1.32 GB, free: 5.715 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4399, allocations: 3.938 kB / 1.32 GB, free: 5.711 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.44, allocations: 152.7 kB / 1.32 GB, free: 5.52 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.44, allocations: 0 / 1.32 GB, free: 5.52 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.4401, allocations: 4 kB / 1.32 GB, free: 5.516 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4401, allocations: 0 / 1.32 GB, free: 5.516 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4401, allocations: 4 kB / 1.32 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4401, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4401, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.4403, allocations: 159.5 kB / 1.32 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.4403, allocations: 7.938 kB / 1.32 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.4403, allocations: 4 kB / 1.32 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.4404, allocations: 384 / 1.32 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.4404, allocations: 11.98 kB / 1.32 GB, free: 5.316 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4404, allocations: 0 / 1.32 GB, free: 5.316 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.439e-05/0.4405, allocations: 99.31 kB / 1.32 GB, free: 5.219 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4405, allocations: 0 / 1.32 GB, free: 5.219 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002114/0.4407, allocations: 15.94 kB / 1.32 GB, free: 5.203 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: 1 (shaT.hys.y)
 * Number of discrete states: 1 (shaT.hys.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 3
 * 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.0001179/0.4408, allocations: 102.6 kB / 1.32 GB, free: 5.098 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001597/0.441, allocations: 31.97 kB / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.441, allocations: 4 kB / 1.32 GB, free: 5.062 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.441, allocations: 19.92 kB / 1.32 GB, free: 5.043 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.4413, allocations: 7.938 kB / 1.32 GB, free: 5.035 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.4417, allocations: 171.7 kB / 1.32 GB, free: 4.84 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.4421, allocations: 0.6866 MB / 1.321 GB, free: 4.129 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.782e-05/0.4421, allocations: 3.984 kB / 1.321 GB, free: 4.125 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.4422, allocations: 15.38 kB / 1.321 GB, free: 4.109 MB / 1.014 GB
Notification: Performance of SimCode: time 3.11e-07/0.4422, allocations: 0 / 1.321 GB, free: 4.109 MB / 1.014 GB
Notification: Performance of Templates: time 0.003515/0.4457, allocations: 0.7327 MB / 1.322 GB, free: 3.379 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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: 9.669896688312292]