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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 218.3 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.278/3.278, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 70.61 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.344, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002239/0.3462, allocations: 0.709 MB / 1.355 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3475, allocations: 0.89 MB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.3476, allocations: 4 kB / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.3476, allocations: 7.875 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.3477, allocations: 11.88 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.348, allocations: 31.89 kB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.3482, allocations: 59.8 kB / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3483, allocations: 11.98 kB / 1.356 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.3485, allocations: 35.84 kB / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.3486, allocations: 27.86 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3486, allocations: 8 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.3486, allocations: 8 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.3487, allocations: 11.98 kB / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.3487, allocations: 27.81 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3489, allocations: 75.7 kB / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3489, allocations: 4 kB / 1.356 GB, free: 6.059 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.308e-06/0.3489, allocations: 7.922 kB / 1.356 GB, free: 6.051 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.3489, allocations: 0 / 1.356 GB, free: 6.051 MB / 1.045 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.0005592/0.3495, allocations: 286.1 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3495, allocations: 12.03 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.3497, allocations: 16.88 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.35, allocations: 142.3 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.35, allocations: 4.375 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.35, allocations: 4.375 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.3502, allocations: 58.23 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3502, allocations: 192 / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3502, allocations: 3.938 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3502, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3503, allocations: 27.98 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.3508, allocations: 275.8 kB / 1.357 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.3511, allocations: 66.53 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.3511, allocations: 21 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.3511, allocations: 0 / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3512, allocations: 34.56 kB / 1.357 GB, free: 4.992 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.3512, allocations: 0 / 1.357 GB, free: 4.992 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002689/0.3514, allocations: 73.56 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3515, allocations: 55.41 kB / 1.357 GB, free: 4.848 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3516, allocations: 121.8 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3516, allocations: 29.7 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.3517, allocations: 96.03 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.3517, allocations: 11.95 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.3517, allocations: 21.7 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3519, allocations: 318.8 kB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.3519, allocations: 15.98 kB / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.352, allocations: 33.64 kB / 1.358 GB, free: 4.172 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.59e-05/0.3521, allocations: 28.78 kB / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3521, allocations: 7.969 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.3523, allocations: 61.69 kB / 1.358 GB, free: 4.066 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3523, allocations: 7.984 kB / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3523, allocations: 336 / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3523, allocations: 0 / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/0.3523, allocations: 4 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3523, allocations: 0 / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.3524, allocations: 19.94 kB / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3524, allocations: 0 / 1.358 GB, free: 4.035 MB / 1.045 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.0001144/0.3525, allocations: 133.6 kB / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3525, allocations: 4 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.3526, allocations: 4 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3526, allocations: 0 / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3526, allocations: 0 / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3526, allocations: 7.922 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.3528, allocations: 152.7 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3528, allocations: 0 / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.3528, allocations: 7.984 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3528, allocations: 4 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3528, allocations: 4 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3528, allocations: 0 / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3528, allocations: 0 / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.353, allocations: 159.4 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.3531, allocations: 3.953 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.3531, allocations: 0 / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.3532, allocations: 15.98 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.3532, allocations: 7.984 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3532, allocations: 0 / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.3533, allocations: 95.27 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3533, allocations: 0 / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002234/0.3535, allocations: 15.94 kB / 1.358 GB, free: 3.359 MB / 1.045 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.0001934/0.3537, allocations: 95.19 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.3539, allocations: 39.97 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3539, allocations: 0 / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.235e-05/0.3539, allocations: 12 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3542, allocations: 13.98 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.3547, allocations: 181.9 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.3551, allocations: 0.69 MB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.3551, allocations: 15.44 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3551, allocations: 4 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of Templates: time 0.002762/0.3579, allocations: 0.8412 MB / 1.36 GB, free: 1.41 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.206726795993745]