Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, 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.002328/0.002329, allocations: 195.6 kB / 16.14 MB, free: 6.648 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 65.05 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3469, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002153/0.3491, allocations: 0.7598 MB / 1.053 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3502, allocations: 0.8469 MB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.3503, allocations: 3.938 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.349e-05/0.3503, allocations: 3.984 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.3504, allocations: 7.922 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3506, allocations: 19.98 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3507, allocations: 59.73 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3508, allocations: 23.98 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.743e-05/0.3509, allocations: 23.91 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.351, allocations: 27.8 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3511, allocations: 4 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.3511, allocations: 0 / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.3511, allocations: 11.98 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.3512, allocations: 23.81 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.3513, allocations: 56.11 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3513, allocations: 4 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3513, allocations: 4 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3513, allocations: 0 / 1.054 GB, free: 6.969 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.0005815/0.3519, allocations: 371.2 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.352, allocations: 12.03 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.352, allocations: 0.9375 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.3523, allocations: 200.1 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3523, allocations: 4.375 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.3524, allocations: 4.312 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3526, allocations: 66.23 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3526, allocations: 192 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3526, allocations: 3.938 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3526, allocations: 0 / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3527, allocations: 27.98 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.3533, allocations: 308.6 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.3536, allocations: 66.59 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3537, allocations: 16.94 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3537, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3537, allocations: 38.5 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3538, allocations: 0 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002838/0.354, allocations: 73.58 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3541, allocations: 55.39 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3543, allocations: 121.8 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3544, allocations: 25.7 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.3544, allocations: 92.12 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.3545, allocations: 7.906 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.3546, allocations: 21.72 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3547, allocations: 322.8 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.3548, allocations: 12 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.3548, allocations: 29.7 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.016e-05/0.3549, allocations: 32.78 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.355, allocations: 4 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002133/0.3552, allocations: 69.94 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3552, allocations: 9.562 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3552, allocations: 3.984 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3552, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.3553, allocations: 7.938 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3553, allocations: 3.984 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.3554, allocations: 7.938 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3554, allocations: 4 kB / 1.056 GB, free: 4.75 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 (shaT.hys.y,$PRE.shaT.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.0001039/0.3555, allocations: 135.2 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3555, allocations: 3.906 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.3556, allocations: 11.91 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3556, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3556, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3556, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.3558, allocations: 181.6 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3558, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.3559, allocations: 4 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3559, allocations: 0 / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3559, allocations: 4 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3559, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3559, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.3561, allocations: 159.5 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.3561, allocations: 89 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3562, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.3562, allocations: 4 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.3563, allocations: 15.92 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3563, allocations: 0 / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.3564, allocations: 95.27 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3564, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002154/0.3566, allocations: 8 kB / 1.057 GB, free: 3.957 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0001339/0.3568, allocations: 99.23 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.3569, allocations: 31.98 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.357, allocations: 4 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.357, allocations: 19.98 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3574, allocations: 7.938 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.3578, allocations: 181.4 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.3583, allocations: 0.6926 MB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.954e-05/0.3583, allocations: 7.969 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.3584, allocations: 11.44 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3584, allocations: 0 / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of Templates: time 0.003024/0.3614, allocations: 0.6173 MB / 1.058 GB, free: 2.238 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches