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.001496/0.001496, allocations: 112.1 kB / 16.42 MB, free: 6.461 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.00147/0.00147, allocations: 189.4 kB / 17.35 MB, free: 5.715 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 63.91 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00197/1.056, allocations: 0.6973 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001075/1.057, allocations: 0.8507 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/1.057, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/1.057, allocations: 11.88 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.12e-05/1.057, allocations: 7.875 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/1.058, allocations: 19.97 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/1.058, allocations: 63.83 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/1.058, allocations: 19.95 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/1.058, allocations: 23.86 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.118e-05/1.058, allocations: 39.83 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/1.058, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/1.058, allocations: 8 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/1.058, allocations: 11.94 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/1.058, allocations: 27.86 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/1.058, allocations: 67.77 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.058, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.058, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.701e-06/1.058, allocations: 0 / 1.21 GB, free: 11.8 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.000512/1.059, allocations: 372.9 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.059, allocations: 8.031 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/1.059, allocations: 12.83 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/1.059, allocations: 192.2 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/1.059, allocations: 384 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/1.059, allocations: 4.375 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/1.059, allocations: 54.23 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.059, allocations: 192 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.059, allocations: 15.88 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.059, allocations: 4 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/1.06, allocations: 27.98 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/1.06, allocations: 292.8 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/1.06, allocations: 70.53 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/1.06, allocations: 21 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/1.06, allocations: 0 / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/1.06, allocations: 30.56 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/1.06, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002795/1.061, allocations: 81.5 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.061, allocations: 55.41 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/1.061, allocations: 129.7 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/1.061, allocations: 29.7 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/1.061, allocations: 92.11 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/1.061, allocations: 11.91 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/1.061, allocations: 21.7 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.061, allocations: 310.8 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/1.061, allocations: 19.92 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/1.061, allocations: 37.7 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/1.061, allocations: 32.72 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.061, allocations: 0 / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001496/1.062, allocations: 61.69 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.062, allocations: 5.875 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.062, allocations: 3.984 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.062, allocations: 0 / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/1.062, allocations: 8.031 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.062, allocations: 0 / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/1.062, allocations: 11.98 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/1.062, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 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 9.627e-05/1.062, allocations: 117.8 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/1.062, allocations: 7.906 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/1.062, allocations: 7.906 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.062, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.062, allocations: 7.984 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/1.062, allocations: 89.02 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/1.062, allocations: 0 / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/1.062, allocations: 7.938 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/1.062, allocations: 15.92 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001864/1.062, allocations: 140.9 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002034/1.063, allocations: 226.8 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.967e-05/1.063, allocations: 20.34 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.823e-05/1.063, allocations: 91.28 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of Backend: time 3.31e-07/1.063, allocations: 3.938 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003879/1.063, allocations: 94.38 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006483/1.064, allocations: 0.6137 MB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of Templates: time 0.003473/1.067, allocations: 0.7425 MB / 1.214 GB, free: 7.312 MB / 0.9356 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