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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 117.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 193.2 kB / 20.08 MB, free: 2.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 63.89 kB / 1.057 GB, free: 1.988 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3527, allocations: 160.7 MB / 1.214 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002039/0.3548, allocations: 0.697 MB / 1.215 GB, free: 252 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.356, allocations: 0.8506 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.3561, allocations: 4 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.3561, allocations: 7.922 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.918e-05/0.3562, allocations: 11.88 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3563, allocations: 15.98 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3565, allocations: 63.83 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3566, allocations: 15.97 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3567, allocations: 31.81 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.3568, allocations: 27.84 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3568, allocations: 8 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.3568, allocations: 4 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.3568, allocations: 19.92 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.3569, allocations: 27.86 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.357, allocations: 63.72 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.357, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.357, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.357, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 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.0006233/0.3576, allocations: 371.2 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3577, allocations: 12.03 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.3577, allocations: 12.89 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3581, allocations: 196.2 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3581, allocations: 8.375 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3581, allocations: 384 / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3583, allocations: 58.23 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3583, allocations: 192 / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3583, allocations: 3.938 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3583, allocations: 0 / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3584, allocations: 27.98 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.3589, allocations: 304.8 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.3592, allocations: 62.53 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.3593, allocations: 21 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3593, allocations: 4 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3593, allocations: 30.56 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3593, allocations: 4 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002622/0.3596, allocations: 73.56 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3596, allocations: 55.39 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3597, allocations: 121.8 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3597, allocations: 29.7 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.3598, allocations: 100.1 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3598, allocations: 8.016 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.3599, allocations: 17.72 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.36, allocations: 326.8 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.3601, allocations: 12 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.3601, allocations: 25.7 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.735e-05/0.3602, allocations: 28.88 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3602, allocations: 11.94 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001448/0.3604, allocations: 69.62 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3604, allocations: 4 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3604, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3604, allocations: 4 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.3605, allocations: 7.938 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3605, allocations: 0 / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.3605, allocations: 15.92 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.3605, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 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.438e-05/0.3606, allocations: 118.1 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.3606, allocations: 7.984 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.3607, allocations: 7.906 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3607, allocations: 7.984 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3607, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3607, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.3609, allocations: 177.5 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3609, allocations: 4 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.3609, allocations: 7.938 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3609, allocations: 4 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3609, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3609, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3609, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3611, allocations: 155.5 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.3612, allocations: 88.98 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3612, allocations: 8 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.3613, allocations: 4 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3613, allocations: 7.984 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3613, allocations: 4 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.146e-05/0.3614, allocations: 91.27 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3614, allocations: 0 / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000227/0.3616, allocations: 12 kB / 1.218 GB, free: 12.07 MB / 0.9669 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.000116/0.3617, allocations: 103.2 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.3619, allocations: 35.97 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3619, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.777e-05/0.362, allocations: 15.98 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3623, allocations: 7.938 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.3627, allocations: 193.2 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.363, allocations: 0.6885 MB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.3631, allocations: 11.44 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3631, allocations: 4 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of Templates: time 0.002412/0.3655, allocations: 0.8556 MB / 1.22 GB, free: 10.11 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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.54702270287089]