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.001559/0.001559, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002351/0.002351, allocations: 195.4 kB / 16.14 MB, free: 6.691 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 66.8 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3551, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002396/0.3576, allocations: 0.7559 MB / 1.053 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.3585, allocations: 0.839 MB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.3586, allocations: 8 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.3586, allocations: 0 / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.527e-05/0.3587, allocations: 7.922 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3589, allocations: 27.92 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.359, allocations: 55.78 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3591, allocations: 12 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.839e-05/0.3593, allocations: 31.91 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.3593, allocations: 23.84 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3594, allocations: 4 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.3594, allocations: 4 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.3594, allocations: 4 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.3595, allocations: 31.8 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3596, allocations: 56.11 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3596, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3596, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3596, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 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.000547/0.3602, allocations: 376.2 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3602, allocations: 8.031 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.3603, allocations: 16.86 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3605, allocations: 192.1 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3606, allocations: 4.375 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3606, allocations: 8.375 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3607, allocations: 62.16 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3608, allocations: 4.188 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3608, allocations: 7.922 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3608, allocations: 4 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3609, allocations: 27.98 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.3613, allocations: 300.7 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3616, allocations: 70.53 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.3617, allocations: 21 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3617, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3617, allocations: 34.5 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.3617, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002399/0.362, allocations: 73.58 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.362, allocations: 51.41 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.3621, allocations: 125.8 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3621, allocations: 29.7 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.3622, allocations: 88.14 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.3622, allocations: 7.906 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.3622, allocations: 21.7 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.3623, allocations: 318.8 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.3624, allocations: 19.98 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.3625, allocations: 33.64 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.3625, allocations: 24.84 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3626, allocations: 0 / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.3627, allocations: 65.59 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3627, allocations: 4.031 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3627, allocations: 7.984 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3627, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.3628, allocations: 4 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3628, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.3629, allocations: 19.92 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3629, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 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 7.844e-05/0.363, allocations: 123.2 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.363, allocations: 11.84 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.363, allocations: 7.906 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.363, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.363, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.363, allocations: 3.984 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.3632, allocations: 177.6 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3632, allocations: 3.938 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.3633, allocations: 7.984 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3633, allocations: 336 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.3633, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3633, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3633, allocations: 8 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.3635, allocations: 163.5 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.3635, allocations: 85.02 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3635, allocations: 3.938 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.3636, allocations: 7.984 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.3637, allocations: 11.98 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3637, allocations: 0 / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.3637, allocations: 103.6 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3637, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002152/0.364, allocations: 8 kB / 1.057 GB, free: 3.91 MB / 0.8106 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 8.692e-05/0.364, allocations: 95.25 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.3642, allocations: 35.97 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3642, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/0.3643, allocations: 19.94 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3646, allocations: 11.94 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.3649, allocations: 177.5 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.3651, allocations: 0.6926 MB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.202e-05/0.3652, allocations: 7.984 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.3652, allocations: 7.438 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3652, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of Templates: time 0.002415/0.3677, allocations: 0.6063 MB / 1.058 GB, free: 2.207 MB / 0.8106 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