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.001041/0.001041, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009493/0.009493, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.563/1.563, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 462.7 MB / 0.7364 GB, free: 184 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 8.688 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3498, allocations: 159.6 MB / 1.059 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00115/0.351, allocations: 435 kB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3522, allocations: 0.8507 MB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.3522, allocations: 0 / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.3523, allocations: 0 / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.3524, allocations: 7.875 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.3526, allocations: 23.98 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.3527, allocations: 55.8 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3529, allocations: 23.97 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.353, allocations: 19.92 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.3531, allocations: 23.86 kB / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3531, allocations: 0 / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.3531, allocations: 4 kB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.3531, allocations: 7.922 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.3532, allocations: 53.44 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.3533, allocations: 60.11 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3533, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3533, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.3533, allocations: 0 / 1.06 GB, free: 3.836 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.0005965/0.354, allocations: 359.3 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.354, allocations: 12.03 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.3541, allocations: 8.844 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3544, allocations: 200.2 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3544, allocations: 8.375 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3544, allocations: 384 / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3546, allocations: 62.17 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3546, allocations: 4.125 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3546, allocations: 3.938 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3546, allocations: 4 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3548, allocations: 39.97 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3553, allocations: 300.7 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.3557, allocations: 86.47 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.3558, allocations: 16.92 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.3558, allocations: 4.094 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.3559, allocations: 38.55 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3559, allocations: 0 / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003424/0.3562, allocations: 69.67 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.3563, allocations: 51.41 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3564, allocations: 129.7 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3565, allocations: 33.7 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.3566, allocations: 92.03 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3566, allocations: 7.906 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3566, allocations: 13.72 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3568, allocations: 318.8 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.3569, allocations: 19.98 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/0.357, allocations: 33.72 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.054e-05/0.357, allocations: 28.84 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3571, allocations: 0 / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000153/0.3572, allocations: 69.67 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3573, allocations: 8.719 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3573, allocations: 4.031 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3573, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.3573, allocations: 11.98 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3574, allocations: 0 / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.3574, allocations: 15.84 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3575, allocations: 7.984 kB / 1.062 GB, free: 1.582 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.0001366/0.3576, allocations: 118 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3576, allocations: 15.94 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.3577, allocations: 11.89 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3577, allocations: 0 / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3577, allocations: 0 / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3577, allocations: 0 / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.3579, allocations: 185.6 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.358, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.358, allocations: 4 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.358, allocations: 4 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.358, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.358, allocations: 7.984 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.358, allocations: 0 / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.3583, allocations: 167.3 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.3583, allocations: 81.02 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3583, allocations: 0 / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.3584, allocations: 12 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.3585, allocations: 7.984 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3585, allocations: 7.984 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.878e-05/0.3586, allocations: 91.72 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3586, allocations: 0 / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002168/0.3588, allocations: 4 kB / 1.063 GB, free: 0.7812 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.0001501/0.359, allocations: 99.23 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3592, allocations: 43.92 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3592, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.3592, allocations: 19.98 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3596, allocations: 11.94 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.36, allocations: 192.5 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.3603, allocations: 0.6848 MB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.153e-05/0.3604, allocations: 7.984 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.3604, allocations: 15.42 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/0.3604, allocations: 4 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.00292/0.3634, allocations: 0.6002 MB / 1.064 GB, free: 15.05 MB / 0.8262 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