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.006513/0.006512, allocations: 105 kB / 15.74 MB, free: 5.992 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.001548/0.001548, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 55.91 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.152, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001807/1.153, allocations: 0.706 MB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009335/1.154, allocations: 0.8351 MB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/1.154, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/1.154, allocations: 3.938 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/1.155, allocations: 15.86 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/1.155, allocations: 19.97 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.693e-05/1.155, allocations: 63.78 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/1.155, allocations: 19.95 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/1.155, allocations: 31.86 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/1.155, allocations: 31.83 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/1.155, allocations: 8 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/1.155, allocations: 4 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/1.155, allocations: 4 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/1.155, allocations: 27.86 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/1.155, allocations: 71.77 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/1.155, allocations: 0 / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.334e-06/1.155, allocations: 0 / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.155, allocations: 4 kB / 1.209 GB, free: 11.77 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.0004928/1.156, allocations: 364.9 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.156, allocations: 12.02 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/1.156, allocations: 8.844 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/1.156, allocations: 192.2 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/1.156, allocations: 12.31 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/1.156, allocations: 8.359 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/1.156, allocations: 58.23 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/1.156, allocations: 192 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.157, allocations: 3.938 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/1.157, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/1.157, allocations: 31.92 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/1.157, allocations: 304.7 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/1.157, allocations: 66.53 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/1.157, allocations: 21 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/1.157, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.157, allocations: 42.5 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.158, allocations: 0 / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002656/1.158, allocations: 69.58 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/1.158, allocations: 51.41 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/1.158, allocations: 125.8 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/1.158, allocations: 29.7 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/1.158, allocations: 92.05 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/1.158, allocations: 7.906 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/1.158, allocations: 21.7 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.158, allocations: 322.8 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.447e-05/1.158, allocations: 15.98 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/1.158, allocations: 29.64 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.804e-05/1.158, allocations: 28.84 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.158, allocations: 0 / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/1.159, allocations: 61.72 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.159, allocations: 7.984 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.159, allocations: 0 / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.159, allocations: 4 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/1.159, allocations: 8 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/1.159, allocations: 3.984 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/1.159, allocations: 11.98 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.159, allocations: 3.938 kB / 1.211 GB, free: 9.562 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 8.563e-05/1.159, allocations: 125.7 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/1.159, allocations: 7.906 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/1.159, allocations: 3.906 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.159, allocations: 4.328 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.159, allocations: 3.984 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/1.159, allocations: 0 / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/1.159, allocations: 173.6 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.159, allocations: 3.984 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/1.159, allocations: 11.98 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.159, allocations: 4 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/1.159, allocations: 0 / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/1.159, allocations: 0 / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.159, allocations: 0 / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/1.159, allocations: 159.4 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/1.159, allocations: 77.11 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/1.159, allocations: 11.88 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/1.16, allocations: 11.98 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/1.16, allocations: 7.984 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/1.16, allocations: 4 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.138e-05/1.16, allocations: 91.27 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.16, allocations: 0 / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002429/1.16, allocations: 19.84 kB / 1.212 GB, free: 8.75 MB / 0.9356 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.0001065/1.16, allocations: 95.25 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001689/1.16, allocations: 35.98 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.16, allocations: 0 / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/1.16, allocations: 19.92 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/1.161, allocations: 7.938 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/1.161, allocations: 155.7 kB / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/1.161, allocations: 0.6885 MB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.861e-05/1.161, allocations: 8 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/1.161, allocations: 11.44 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of SimCode: time 1.412e-06/1.161, allocations: 0 / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of Templates: time 0.002936/1.164, allocations: 0.7394 MB / 1.214 GB, free: 6.941 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/jenkins/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