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.009426/0.009426, allocations: 106.2 kB / 15.74 MB, free: 6 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.001878/0.001878, 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4334, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002761/0.4362, allocations: 0.7008 MB / 1.208 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.4378, allocations: 0.8312 MB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.4379, allocations: 0 / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.801e-05/0.4379, allocations: 3.938 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.4381, allocations: 23.86 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.4383, allocations: 19.91 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.4385, allocations: 59.8 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.4387, allocations: 23.92 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.4388, allocations: 31.91 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.4389, allocations: 27.86 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.439, allocations: 8 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.439, allocations: 8 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.439, allocations: 7.984 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.4391, allocations: 31.86 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.4393, allocations: 59.77 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4393, allocations: 0 / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.35e-06/0.4393, allocations: 0 / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.4393, allocations: 3.938 kB / 1.209 GB, free: 7.824 MB / 0.9669 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.0007037/0.44, allocations: 367.2 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4401, allocations: 12.62 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.4402, allocations: 8.844 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.4406, allocations: 196.1 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4406, allocations: 4.375 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.4406, allocations: 12.3 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.4408, allocations: 54.23 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.4409, allocations: 192 / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.4409, allocations: 7.938 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4409, allocations: 3.984 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.4411, allocations: 35.92 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.4417, allocations: 296.7 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.4422, allocations: 66.53 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.841e-05/0.4423, allocations: 28.94 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4423, allocations: 3.938 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.4424, allocations: 30.56 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.4424, allocations: 0 / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004/0.4428, allocations: 69.67 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.4429, allocations: 51.41 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.443, allocations: 121.8 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.4431, allocations: 33.69 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.4432, allocations: 92.05 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.4432, allocations: 3.906 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.4433, allocations: 21.7 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.4435, allocations: 318.8 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.4436, allocations: 19.92 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4437, allocations: 33.7 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.4439, allocations: 33.11 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4439, allocations: 4 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002175/0.4441, allocations: 61.69 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4442, allocations: 5.719 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4442, allocations: 0 / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4442, allocations: 3.984 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.4443, allocations: 8 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4443, allocations: 3.969 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.977e-05/0.4444, allocations: 19.83 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.4444, allocations: 0 / 1.211 GB, free: 5.602 MB / 0.9669 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 0.0002004/0.4447, allocations: 121.7 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.4447, allocations: 4 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.4448, allocations: 7.906 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4448, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4448, allocations: 4 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4448, allocations: 0 / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.4451, allocations: 177.6 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4451, allocations: 0 / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.4452, allocations: 7.984 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4452, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4452, allocations: 4 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4452, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4453, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.4455, allocations: 167.3 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.4456, allocations: 81.02 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.4456, allocations: 4 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.4458, allocations: 7.984 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.4458, allocations: 7.984 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4459, allocations: 0 / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.613e-05/0.4459, allocations: 99.2 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.446, allocations: 0 / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003795/0.4463, allocations: 12 kB / 1.212 GB, free: 4.809 MB / 0.9669 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.0001387/0.4465, allocations: 99.25 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.4468, allocations: 31.98 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4468, allocations: 0 / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.4469, allocations: 19.92 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.4474, allocations: 7.938 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.4479, allocations: 171.7 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.4483, allocations: 0.6885 MB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.242e-05/0.4483, allocations: 288 / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.4484, allocations: 11.44 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.4484, allocations: 0 / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of Templates: time 0.005352/0.4538, allocations: 0.7266 MB / 1.214 GB, free: 3.004 MB / 0.9669 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