Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 108.2 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 211 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 66.45 kB / 1.155 GB, free: 25.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4391, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002129/0.4412, allocations: 0.6888 MB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.4425, allocations: 0.8822 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.4425, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.4426, allocations: 3.938 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.655e-05/0.4426, allocations: 15.86 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.4429, allocations: 19.92 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.443, allocations: 67.77 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4431, allocations: 12 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.4432, allocations: 27.92 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.4433, allocations: 31.91 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.4433, allocations: 11.92 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.211e-05/0.4434, allocations: 8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.4434, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.4434, allocations: 27.86 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.4436, allocations: 79.58 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4436, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4436, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4436, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 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.0004787/0.4441, allocations: 294.2 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4441, allocations: 8.031 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.4443, allocations: 16.89 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.4445, allocations: 134.3 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.4445, allocations: 8.375 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.4445, allocations: 4.375 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.4447, allocations: 54.23 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.4447, allocations: 4.125 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4447, allocations: 3.938 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4447, allocations: 11.98 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.4448, allocations: 31.97 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.4452, allocations: 232.5 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.4454, allocations: 74.39 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.4455, allocations: 16.92 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.4455, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.4455, allocations: 38.56 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.4455, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002167/0.4457, allocations: 73.7 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.4458, allocations: 51.41 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.4459, allocations: 121.8 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4459, allocations: 25.7 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.446, allocations: 100.1 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.446, allocations: 3.953 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.446, allocations: 21.66 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4462, allocations: 322.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.4462, allocations: 16 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.531e-05/0.4463, allocations: 55.41 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/0.4464, allocations: 24.84 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4464, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001525/0.4465, allocations: 73.56 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4466, allocations: 7.938 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4466, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4466, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.4466, allocations: 16.02 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4466, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.4467, allocations: 8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.4467, allocations: 3.984 kB / 1.331 GB, free: 13.04 MB / 1.029 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 (shaH.hys.y,$PRE.shaH.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.0001171/0.4468, allocations: 117.8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.4468, allocations: 7.953 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.4469, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4469, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4469, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.4469, allocations: 11.95 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.4469, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.447, allocations: 7.984 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.4471, allocations: 19.86 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002169/0.4473, allocations: 145.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002496/0.4475, allocations: 230.8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.858e-05/0.4476, allocations: 12 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.129e-05/0.4477, allocations: 91.7 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Backend: time 3.4e-07/0.4477, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004297/0.4481, allocations: 106.7 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006191/0.4487, allocations: 0.6025 MB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of Templates: time 0.003941/0.4526, allocations: 0.8661 MB / 1.333 GB, free: 10.74 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.541850040004647]