Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008058/0.008058, allocations: 103.6 kB / 15.74 MB, free: 6.059 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.001958/0.001958, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.613/2.613, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.81 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002337/1.045, allocations: 0.7066 MB / 1.221 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001081/1.046, allocations: 0.8468 MB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/1.047, allocations: 0 / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/1.047, allocations: 3.938 kB / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/1.047, allocations: 15.92 kB / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/1.047, allocations: 15.92 kB / 1.222 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/1.047, allocations: 67.77 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/1.047, allocations: 11.95 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/1.047, allocations: 31.92 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/1.047, allocations: 31.83 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/1.047, allocations: 8 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/1.047, allocations: 4 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/1.047, allocations: 7.938 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/1.047, allocations: 31.86 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/1.048, allocations: 64.27 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.048, allocations: 0 / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/1.048, allocations: 0 / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.762e-06/1.048, allocations: 4 kB / 1.222 GB, free: 272 kB / 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.0005307/1.048, allocations: 363.3 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.048, allocations: 12.02 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/1.048, allocations: 8.891 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/1.048, allocations: 192.2 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/1.048, allocations: 4.375 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/1.048, allocations: 4.375 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/1.049, allocations: 62.17 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.049, allocations: 8.125 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.049, allocations: 3.938 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/1.049, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/1.049, allocations: 27.98 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/1.049, allocations: 292.8 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/1.049, allocations: 74.47 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/1.05, allocations: 28.92 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/1.05, allocations: 4.062 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/1.05, allocations: 30.56 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.05, allocations: 0 / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002485/1.05, allocations: 77.56 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.05, allocations: 55.41 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/1.05, allocations: 118.2 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.05, allocations: 33.7 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/1.05, allocations: 92.03 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/1.05, allocations: 7.953 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/1.05, allocations: 21.7 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.05, allocations: 318.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/1.05, allocations: 19.98 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/1.05, allocations: 29.7 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/1.05, allocations: 24.84 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.05, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001348/1.05, allocations: 73.58 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.051, allocations: 7.984 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.051, allocations: 0 / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.051, allocations: 4.031 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.647e-05/1.051, allocations: 4 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/1.051, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/1.051, allocations: 11.98 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/1.051, allocations: 0 / 1.224 GB, free: 14.06 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 9.017e-05/1.051, allocations: 117.8 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/1.051, allocations: 8 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/1.051, allocations: 11.84 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/1.051, allocations: 4 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.051, allocations: 3.984 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.051, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/1.051, allocations: 177.5 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/1.051, allocations: 0 / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/1.051, allocations: 7.984 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/1.051, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.051, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.051, allocations: 4 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.051, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/1.051, allocations: 163.4 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/1.051, allocations: 81.44 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/1.051, allocations: 0 / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/1.051, allocations: 11.98 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/1.051, allocations: 7.984 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/1.051, allocations: 3.938 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.579e-05/1.051, allocations: 99.31 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/1.051, allocations: 4 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002105/1.052, allocations: 12 kB / 1.225 GB, free: 13.25 MB / 0.9512 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.0001011/1.052, allocations: 95.25 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001575/1.052, allocations: 35.91 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.052, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/1.052, allocations: 19.98 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/1.052, allocations: 11.94 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/1.053, allocations: 163.5 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/1.053, allocations: 0.6884 MB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.645e-05/1.053, allocations: 4 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/1.053, allocations: 15.44 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/1.053, allocations: 0 / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.003043/1.056, allocations: 0.6989 MB / 1.227 GB, free: 11.47 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches