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.001274/0.001274, allocations: 106.6 kB / 16.41 MB, free: 6.469 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.001385/0.001385, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.492/1.492, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.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.615/2.615, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 59.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9651/0.9669, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00262/0.9695, allocations: 0.713 MB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.9708, allocations: 0.8414 MB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.9709, allocations: 0 / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.971, allocations: 3.938 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.9711, allocations: 23.84 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.9713, allocations: 23.92 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.9715, allocations: 63.78 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.9716, allocations: 12 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.9718, allocations: 31.91 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.9719, allocations: 27.84 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.9719, allocations: 8 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.837e-05/0.9719, allocations: 8 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.972, allocations: 8 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.972, allocations: 27.84 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.9722, allocations: 71.23 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9722, allocations: 0 / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9722, allocations: 0 / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.9723, allocations: 0 / 1.169 GB, free: 2.004 MB / 0.8887 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.000625/0.9729, allocations: 368.2 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.973, allocations: 12.92 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.973, allocations: 8.891 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.9734, allocations: 192.2 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.9735, allocations: 4.375 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.9735, allocations: 4.375 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.9737, allocations: 62.22 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.9737, allocations: 192 / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.9737, allocations: 7.875 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.9737, allocations: 3.938 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.9738, allocations: 35.92 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.9744, allocations: 292.8 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.9747, allocations: 70.47 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.9748, allocations: 25 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.9748, allocations: 0 / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.9748, allocations: 34.56 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.9749, allocations: 0 / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003026/0.9752, allocations: 69.62 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.9752, allocations: 51.41 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.9753, allocations: 121.8 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.9754, allocations: 29.7 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.9754, allocations: 100 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.9755, allocations: 11.88 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.9755, allocations: 17.72 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9757, allocations: 314.8 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.9757, allocations: 19.98 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.9758, allocations: 25.7 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.189e-05/0.9759, allocations: 37.09 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9759, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001599/0.9761, allocations: 73.61 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9761, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.9761, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9761, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.9762, allocations: 7.938 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9762, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.9763, allocations: 15.98 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.9763, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 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.0001054/0.9764, allocations: 113.8 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.9765, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.9765, allocations: 7.891 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.9765, allocations: 7.938 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9765, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.9766, allocations: 81.06 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.9766, allocations: 8 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.9767, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.9767, allocations: 11.92 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002033/0.9769, allocations: 144.9 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002148/0.9772, allocations: 230.8 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.105e-05/0.9772, allocations: 19.98 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.583e-05/0.9773, allocations: 95.64 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of Backend: time 5.01e-07/0.9773, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.9777, allocations: 102.3 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005967/0.9783, allocations: 0.6059 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.003478/0.9818, allocations: 0.7226 MB / 1.173 GB, free: 13.54 MB / 0.9044 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/jenkins1/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