Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001785/0.001785, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002147/0.002147, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.251/3.251, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003083/0.003083, allocations: 67.75 kB / 1.178 GB, free: 16.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3641, allocations: 180.2 MB / 1.354 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002013/0.3661, allocations: 0.7114 MB / 1.355 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3673, allocations: 0.8938 MB / 1.356 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.3673, allocations: 0 / 1.356 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.3674, allocations: 7.938 kB / 1.356 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.88e-05/0.3675, allocations: 11.88 kB / 1.356 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3677, allocations: 27.91 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.3678, allocations: 51.84 kB / 1.356 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3679, allocations: 19.98 kB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3681, allocations: 35.84 kB / 1.356 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.3682, allocations: 27.86 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3682, allocations: 4 kB / 1.356 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.3682, allocations: 8 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.3682, allocations: 23.86 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.3683, allocations: 23.88 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3684, allocations: 75.7 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3684, allocations: 3.938 kB / 1.356 GB, free: 6.098 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.634e-06/0.3684, allocations: 0 / 1.356 GB, free: 6.098 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3684, allocations: 0 / 1.356 GB, free: 6.098 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005189/0.369, allocations: 294.1 kB / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.369, allocations: 11.97 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3692, allocations: 16.88 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.3694, allocations: 138.4 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3694, allocations: 4.375 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.3694, allocations: 4.375 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3696, allocations: 58.23 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3696, allocations: 192 / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3696, allocations: 3.938 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3696, allocations: 0 / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3697, allocations: 35.91 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.3702, allocations: 267.9 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.3704, allocations: 70.52 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/0.3705, allocations: 21 kB / 1.357 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3705, allocations: 4 kB / 1.357 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3706, allocations: 34.5 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3706, allocations: 0 / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002713/0.3708, allocations: 69.62 kB / 1.357 GB, free: 4.953 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3709, allocations: 55.41 kB / 1.357 GB, free: 4.887 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.371, allocations: 121.8 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.371, allocations: 29.69 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.3711, allocations: 104 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.3711, allocations: 3.953 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.3711, allocations: 21.7 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3712, allocations: 314.8 kB / 1.358 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/0.3713, allocations: 23.92 kB / 1.358 GB, free: 4.246 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.3714, allocations: 33.64 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.3715, allocations: 28.88 kB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3715, allocations: 0 / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.3716, allocations: 61.69 kB / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3716, allocations: 4 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3716, allocations: 0 / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.3716, allocations: 3.984 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.3717, allocations: 8 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.3717, allocations: 3.984 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.3718, allocations: 19.94 kB / 1.358 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3718, allocations: 7.875 kB / 1.358 GB, free: 4.062 MB / 1.045 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.0001114/0.3719, allocations: 122.4 kB / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.3719, allocations: 4 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.372, allocations: 8 kB / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.372, allocations: 0 / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.372, allocations: 0 / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.372, allocations: 4 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3722, allocations: 148.7 kB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3722, allocations: 4 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.3722, allocations: 7.984 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3722, allocations: 4 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3722, allocations: 0 / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3722, allocations: 0 / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3722, allocations: 0 / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.3724, allocations: 163.7 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.3724, allocations: 3.953 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3724, allocations: 8 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.3725, allocations: 7.984 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.3726, allocations: 12.02 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3726, allocations: 4 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.3727, allocations: 91.27 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3727, allocations: 0 / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00023/0.3729, allocations: 15.94 kB / 1.358 GB, free: 3.395 MB / 1.045 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0001182/0.373, allocations: 95.25 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.3732, allocations: 31.98 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3732, allocations: 0 / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.3732, allocations: 23.92 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.3736, allocations: 3.938 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.374, allocations: 181.9 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3743, allocations: 0.6924 MB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.3743, allocations: 11.44 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3743, allocations: 0 / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of Templates: time 0.002639/0.377, allocations: 0.8411 MB / 1.36 GB, free: 1.449 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.22187693498563]