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.001519/0.001519, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001686/0.001686, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 63.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8063/0.8079, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002058/0.81, allocations: 0.705 MB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.8111, allocations: 0.8507 MB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.8112, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.8113, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.8114, allocations: 11.88 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.8116, allocations: 15.98 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.8117, allocations: 67.77 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.8118, allocations: 19.94 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.812, allocations: 31.86 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.8121, allocations: 23.86 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.8121, allocations: 15.92 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.8121, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.8121, allocations: 15.98 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.8122, allocations: 23.88 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.8123, allocations: 67.77 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8123, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8124, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.8124, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 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.0005098/0.8129, allocations: 368.9 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.8129, allocations: 12.03 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.813, allocations: 8.844 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.8132, allocations: 196.2 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.8133, allocations: 4.375 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.8133, allocations: 4.375 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.8135, allocations: 58.17 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8135, allocations: 192 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.8135, allocations: 3.938 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.8135, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.8136, allocations: 31.97 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.814, allocations: 300.8 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.8143, allocations: 70.52 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.8144, allocations: 12.92 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.8144, allocations: 8 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.8145, allocations: 30.56 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.8145, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002589/0.8147, allocations: 77.73 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.8148, allocations: 51.41 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.8149, allocations: 125.8 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.8149, allocations: 25.7 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.815, allocations: 104.1 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.815, allocations: 11.91 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.815, allocations: 13.72 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8152, allocations: 322.8 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.8152, allocations: 12 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.8153, allocations: 33.73 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.8154, allocations: 36.81 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.8154, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001372/0.8155, allocations: 61.67 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8155, allocations: 9.719 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8156, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.8156, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.8156, allocations: 7.984 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.8157, allocations: 3.938 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.8157, allocations: 8 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.8157, allocations: 4 kB / 1.212 GB, free: 9.516 MB / 0.9356 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.802e-05/0.8158, allocations: 121.8 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.8159, allocations: 7.844 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.8159, allocations: 11.91 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8159, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.8159, allocations: 7.938 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.8159, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.8161, allocations: 177.6 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8162, allocations: 0 / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.8162, allocations: 8 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.8162, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.8162, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8162, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8162, allocations: 3.984 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.8164, allocations: 159.4 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.8165, allocations: 81.11 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.8165, allocations: 8 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.8166, allocations: 4 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.8167, allocations: 7.984 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.8167, allocations: 0 / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.109e-05/0.8167, allocations: 99.7 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8167, allocations: 3.938 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002291/0.817, allocations: 11.84 kB / 1.213 GB, free: 8.711 MB / 0.9356 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.0001128/0.8171, allocations: 103.2 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.8173, allocations: 31.98 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8173, allocations: 0 / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.8174, allocations: 19.98 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.8177, allocations: 12.27 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.8181, allocations: 185.7 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.8184, allocations: 0.6846 MB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.8184, allocations: 15.42 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8184, allocations: 0 / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of Templates: time 0.002472/0.8209, allocations: 0.8437 MB / 1.215 GB, free: 6.754 MB / 0.9356 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/jenkins1/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