Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 115.1 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001945, allocations: 183.9 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.049, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001988/1.051, allocations: 0.6992 MB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001057/1.052, allocations: 0.8531 MB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/1.053, allocations: 4 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/1.053, allocations: 3.938 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/1.053, allocations: 11.86 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/1.053, allocations: 23.98 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000103/1.053, allocations: 59.78 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/1.053, allocations: 23.98 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/1.053, allocations: 31.84 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/1.053, allocations: 23.86 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/1.053, allocations: 4 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/1.053, allocations: 4 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/1.053, allocations: 15.98 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/1.053, allocations: 19.88 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/1.054, allocations: 72.27 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.054, allocations: 0 / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/1.054, allocations: 0 / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.081e-06/1.054, allocations: 4 kB / 1.169 GB, free: 2.004 MB / 0.8887 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.0005199/1.054, allocations: 367.2 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.054, allocations: 12.03 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/1.054, allocations: 8.891 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/1.054, allocations: 196.1 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/1.054, allocations: 4.375 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/1.054, allocations: 4.375 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/1.055, allocations: 62.23 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.055, allocations: 192 / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.055, allocations: 7.875 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/1.055, allocations: 0 / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/1.055, allocations: 35.95 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/1.055, allocations: 292.8 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/1.056, allocations: 74.58 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/1.056, allocations: 12.86 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/1.056, allocations: 4 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/1.056, allocations: 38.5 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.056, allocations: 0 / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002639/1.056, allocations: 77.7 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/1.056, allocations: 51.41 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.774e-05/1.056, allocations: 117.8 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.056, allocations: 29.64 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/1.056, allocations: 104 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/1.056, allocations: 3.953 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/1.056, allocations: 17.72 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.056, allocations: 322.8 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/1.056, allocations: 12 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/1.056, allocations: 29.7 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.744e-05/1.057, allocations: 37 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.057, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001456/1.057, allocations: 69.61 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.057, allocations: 8.031 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.057, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.057, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/1.057, allocations: 7.984 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/1.057, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/1.057, allocations: 8 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.057, allocations: 8 kB / 1.171 GB, free: 15.79 MB / 0.9044 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 8.829e-05/1.057, allocations: 121.7 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/1.057, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/1.057, allocations: 15.91 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.057, allocations: 3.938 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/1.057, allocations: 0 / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/1.057, allocations: 81.06 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/1.057, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/1.057, allocations: 7.984 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/1.057, allocations: 11.92 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001953/1.057, allocations: 141 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002026/1.058, allocations: 234.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.85e-05/1.058, allocations: 15.98 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.342e-05/1.058, allocations: 95.27 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of Backend: time 6.01e-07/1.058, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003911/1.058, allocations: 100.6 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005133/1.059, allocations: 0.606 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.003207/1.062, allocations: 0.7322 MB / 1.173 GB, free: 13.53 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches