Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001455/0.001455, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001715/0.001715, allocations: 215.6 kB / 22.25 MB, free: 4.852 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.758/3.758, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.003794/0.003794, allocations: 76.94 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4702, allocations: 176.1 MB / 1.325 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002284/0.4725, allocations: 0.6886 MB / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.4739, allocations: 0.886 MB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.4739, allocations: 0 / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.474, allocations: 7.938 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.847e-05/0.4741, allocations: 7.875 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.4743, allocations: 23.97 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.4744, allocations: 63.72 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4746, allocations: 15.98 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.4747, allocations: 35.91 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.4748, allocations: 15.92 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.4748, allocations: 8 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.844e-05/0.4749, allocations: 11.94 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.4749, allocations: 15.98 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.475, allocations: 19.88 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.4751, allocations: 79.58 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4751, allocations: 0 / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4752, allocations: 0 / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4752, allocations: 0 / 1.327 GB, free: 8 kB / 1.014 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.0006227/0.4758, allocations: 290.2 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4758, allocations: 8.031 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.476, allocations: 16.88 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.4763, allocations: 138.4 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4763, allocations: 8.375 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.4764, allocations: 8.359 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4765, allocations: 58.22 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4765, allocations: 192 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.4766, allocations: 3.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.4766, allocations: 7.938 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.4767, allocations: 27.98 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.4771, allocations: 228.5 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.4774, allocations: 78.41 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.4775, allocations: 21 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4775, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.4775, allocations: 34.56 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.4775, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002753/0.4778, allocations: 69.62 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4778, allocations: 55.41 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.4779, allocations: 125.8 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.478, allocations: 33.64 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.478, allocations: 96.02 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.4781, allocations: 3.953 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.4781, allocations: 21.7 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4782, allocations: 322.8 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.4783, allocations: 15.98 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.4784, allocations: 55.41 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.893e-05/0.4785, allocations: 32.88 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4785, allocations: 3.938 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.4786, allocations: 65.64 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4786, allocations: 7.984 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4786, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4787, allocations: 3.938 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.4787, allocations: 4 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4787, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.4788, allocations: 11.98 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.4788, allocations: 4 kB / 1.329 GB, free: 14 MB / 1.029 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.000113/0.4789, allocations: 121.8 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.4789, allocations: 7.953 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.479, allocations: 8 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.479, allocations: 336 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.479, allocations: 3.984 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.479, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.4792, allocations: 117.2 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4792, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.4792, allocations: 11.98 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4792, allocations: 4 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4792, allocations: 3.984 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4792, allocations: 0 / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4792, allocations: 0 / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.4794, allocations: 167.4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.4794, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.4794, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.4795, allocations: 7.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.4796, allocations: 7.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.4796, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.046e-05/0.4797, allocations: 99.27 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4797, allocations: 3.938 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002291/0.4799, allocations: 11.95 kB / 1.33 GB, free: 13.36 MB / 1.029 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.0001148/0.48, allocations: 95.23 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.4802, allocations: 35.92 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4802, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.866e-05/0.4803, allocations: 19.98 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.4806, allocations: 15.88 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.481, allocations: 160.2 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.741e-05/0.4811, allocations: 73.52 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.4811, allocations: 4 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.4811, allocations: 11.44 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.4811, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Templates: time 0.003958/0.4851, allocations: 0.7739 MB / 1.331 GB, free: 12.13 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.232262432575226]