Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_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_10_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.007631/0.00763, allocations: 102.9 kB / 15.74 MB, free: 6.496 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.001152/0.001152, allocations: 197.7 kB / 16.68 MB, free: 6.375 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.91 kB / 1.018 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3607, allocations: 151.6 MB / 1.167 GB, free: 6.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002311/0.3631, allocations: 0.6994 MB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3645, allocations: 0.8545 MB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.3647, allocations: 0 / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.301e-05/0.3647, allocations: 3.938 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.3649, allocations: 11.92 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3651, allocations: 23.91 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.3654, allocations: 59.84 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.3655, allocations: 16 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3657, allocations: 31.8 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3658, allocations: 31.89 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.3658, allocations: 8 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.3659, allocations: 4 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.3659, allocations: 11.88 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.366, allocations: 31.86 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.3662, allocations: 63.7 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3662, allocations: 4 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3662, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.3663, allocations: 4 kB / 1.168 GB, free: 5.012 MB / 0.92 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.0006256/0.3669, allocations: 371.2 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.367, allocations: 8.031 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.367, allocations: 8.891 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3673, allocations: 188.3 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3674, allocations: 12.31 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3674, allocations: 4.375 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3675, allocations: 58.23 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3676, allocations: 192 / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3676, allocations: 3.938 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3676, allocations: 0 / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3677, allocations: 27.98 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.3682, allocations: 308.7 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.3685, allocations: 66.53 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.3686, allocations: 21 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.3686, allocations: 0 / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3687, allocations: 38.56 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3687, allocations: 0 / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002681/0.3689, allocations: 77.55 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.369, allocations: 51.41 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.3692, allocations: 129.7 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3692, allocations: 29.7 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.3693, allocations: 92.09 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3693, allocations: 7.938 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.3694, allocations: 21.72 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3695, allocations: 322.8 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.3696, allocations: 15.98 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.3697, allocations: 25.7 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.672e-05/0.3698, allocations: 32.84 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3698, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001713/0.37, allocations: 73.59 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.37, allocations: 4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.37, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.37, allocations: 4 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.3701, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3701, allocations: 0 / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.3701, allocations: 7.984 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3702, allocations: 7.938 kB / 1.17 GB, free: 2.797 MB / 0.92 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 9.586e-05/0.3703, allocations: 117.8 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3703, allocations: 4 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.3703, allocations: 11.89 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3704, allocations: 4 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3704, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3704, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3706, allocations: 173.5 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3706, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.3706, allocations: 19.92 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3706, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3706, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3707, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3707, allocations: 0 / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.3708, allocations: 159.4 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.3709, allocations: 81.06 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3709, allocations: 11.94 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.371, allocations: 7.984 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.3711, allocations: 7.984 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.3711, allocations: 4 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.3712, allocations: 95.27 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3712, allocations: 0 / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002286/0.3714, allocations: 8 kB / 1.171 GB, free: 2 MB / 0.92 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.0002208/0.3716, allocations: 99.19 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.3718, allocations: 36.34 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3718, allocations: 4 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-05/0.3719, allocations: 16.09 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3722, allocations: 14.42 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.3727, allocations: 159.6 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.3731, allocations: 0.6885 MB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.715e-05/0.3731, allocations: 4 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.3732, allocations: 15.42 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.3732, allocations: 0 / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of Templates: time 0.003146/0.3763, allocations: 0.7027 MB / 1.173 GB, free: 220 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches