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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_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.001909/0.001909, allocations: 112.6 kB / 16.42 MB, free: 6.445 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.00206/0.00206, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 469.4 MB / 0.7428 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 56.14 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.036, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002222/1.039, allocations: 0.7031 MB / 1.222 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001207/1.04, allocations: 0.8391 MB / 1.222 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/1.04, allocations: 7.938 kB / 1.222 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/1.04, allocations: 7.875 kB / 1.222 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/1.04, allocations: 11.91 kB / 1.222 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/1.041, allocations: 19.92 kB / 1.222 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/1.041, allocations: 59.78 kB / 1.222 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/1.041, allocations: 27.95 kB / 1.222 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/1.041, allocations: 23.91 kB / 1.223 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.125e-05/1.041, allocations: 31.84 kB / 1.223 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/1.041, allocations: 4 kB / 1.223 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/1.041, allocations: 4 kB / 1.223 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/1.041, allocations: 12 kB / 1.223 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/1.041, allocations: 27.84 kB / 1.223 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/1.041, allocations: 71.72 kB / 1.223 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.041, allocations: 0 / 1.223 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.365e-06/1.041, allocations: 0 / 1.223 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.041, allocations: 0 / 1.223 GB, free: 0.5273 MB / 0.9356 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.0005481/1.042, allocations: 372.9 kB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.042, allocations: 12.62 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/1.042, allocations: 8.828 kB / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/1.042, allocations: 192.2 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/1.042, allocations: 8.375 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/1.042, allocations: 384 / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/1.043, allocations: 62.22 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.043, allocations: 4.125 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/1.043, allocations: 7.938 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.043, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/1.043, allocations: 23.98 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/1.043, allocations: 304.7 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/1.043, allocations: 66.53 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/1.044, allocations: 20.94 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/1.044, allocations: 4 kB / 1.224 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/1.044, allocations: 34.56 kB / 1.224 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/1.044, allocations: 0 / 1.224 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000263/1.044, allocations: 65.67 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/1.044, allocations: 55.41 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/1.044, allocations: 129.7 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.044, allocations: 25.7 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/1.044, allocations: 92.05 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/1.044, allocations: 11.91 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/1.044, allocations: 17.7 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.044, allocations: 318.8 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/1.044, allocations: 15.98 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/1.044, allocations: 29.64 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/1.044, allocations: 36.78 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.045, allocations: 4.031 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000143/1.045, allocations: 65.58 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.045, allocations: 8 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.045, allocations: 3.938 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.045, allocations: 0 / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/1.045, allocations: 7.938 kB / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.045, allocations: 0 / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/1.045, allocations: 7.984 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/1.045, allocations: 4 kB / 1.225 GB, free: 14.32 MB / 0.9512 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.766e-05/1.045, allocations: 121.8 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/1.045, allocations: 336 / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/1.045, allocations: 11.91 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.045, allocations: 7.969 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.045, allocations: 0 / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/1.045, allocations: 81.02 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/1.045, allocations: 4 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/1.045, allocations: 4 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/1.045, allocations: 19.92 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001822/1.045, allocations: 140.9 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001923/1.046, allocations: 226.8 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.692e-05/1.046, allocations: 15.98 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.911e-05/1.046, allocations: 103.6 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of Backend: time 6.01e-07/1.046, allocations: 4 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003677/1.046, allocations: 90.39 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005086/1.047, allocations: 0.6176 MB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.003219/1.05, allocations: 0.7267 MB / 1.227 GB, free: 12.05 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) 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) Reference file matches