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.0008569/0.0008569, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001954, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007047/0.0007047, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009145/0.001619, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.941/0.941, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09358/1.035, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.428/2.428, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2832/2.711, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8183 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.136e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001299/0.001321, allocations: 0.7508 MB / 0.819 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007505/0.002071, allocations: 0.9014 MB / 0.8199 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.002107, allocations: 4 kB / 0.8199 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.00213, allocations: 3.938 kB / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.802e-05/0.002178, allocations: 15.86 kB / 0.8199 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.488e-05/0.002273, allocations: 27.84 kB / 0.8199 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.002348, allocations: 59.8 kB / 0.82 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.002429, allocations: 19.92 kB / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.002569, allocations: 55.83 kB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.002626, allocations: 15.98 kB / 0.8201 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.00264, allocations: 4 kB / 0.8201 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.514e-05/0.002696, allocations: 15.98 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.002709, allocations: 7.938 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.002727, allocations: 12 kB / 0.8201 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.00283, allocations: 43.72 kB / 0.8201 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.002843, allocations: 4 kB / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002843, allocations: 0 / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.002855, allocations: 0 / 0.8201 GB, free: 1.016 MB / 0.7917 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.0003398/0.003195, allocations: 280.4 kB / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.003226, allocations: 8.625 kB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.003367, allocations: 90.03 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.003481, allocations: 129.7 kB / 0.8206 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.003496, allocations: 4.375 kB / 0.8206 GB, free: 456 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.003504, allocations: 4.375 kB / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.149e-05/0.003596, allocations: 58.94 kB / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.003601, allocations: 192 / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.003608, allocations: 8.359 kB / 0.8207 GB, free: 376 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.003612, allocations: 384 / 0.8207 GB, free: 376 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.338e-05/0.003635, allocations: 11.88 kB / 0.8207 GB, free: 364 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.003837, allocations: 172.2 kB / 0.8209 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.003951, allocations: 50.55 kB / 0.8209 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.003964, allocations: 12.86 kB / 0.8209 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.003975, allocations: 3.938 kB / 0.8209 GB, free: 96 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.003993, allocations: 30.56 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.003993, allocations: 0 / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 9.317e-05/0.004087, allocations: 45.72 kB / 0.821 GB, free: 4 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.004126, allocations: 55.39 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/0.004185, allocations: 123.1 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.004202, allocations: 29.7 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.004234, allocations: 92.08 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.004249, allocations: 7.938 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.004277, allocations: 17.7 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.004345, allocations: 322.8 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.004355, allocations: 7.938 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.004386, allocations: 43.41 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/0.00441, allocations: 17.12 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004411, allocations: 3.938 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.196e-05/0.004453, allocations: 45.67 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.004464, allocations: 4 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.00447, allocations: 3.969 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.004482, allocations: 4 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.391e-05/0.004526, allocations: 11.92 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.004529, allocations: 0 / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.00455, allocations: 7.953 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.004555, allocations: 4 kB / 0.8218 GB, free: 15.15 MB / 0.8073 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 4.836e-05/0.004604, allocations: 109.8 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.004619, allocations: 7.984 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.004638, allocations: 7.938 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.00464, allocations: 4 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.004643, allocations: 8 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.004645, allocations: 0 / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.873e-05/0.004724, allocations: 77.88 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004725, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.004739, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.004747, allocations: 7.984 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.004748, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.004752, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.004754, allocations: 3.938 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.004755, allocations: 0 / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.29e-05/0.004818, allocations: 135.5 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.004829, allocations: 4 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.197e-05/0.004861, allocations: 7.984 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.004892, allocations: 15.92 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/0.004894, allocations: 0 / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.615e-05/0.00491, allocations: 24.88 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00491, allocations: 0 / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000111/0.005021, allocations: 11.95 kB / 0.8222 GB, free: 14.68 MB / 0.8073 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 6.104e-05/0.005083, allocations: 76.42 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.945e-05/0.005142, allocations: 24.84 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.005146, allocations: 7.938 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.005163, allocations: 16.8 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.005288, allocations: 6.953 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.006197, allocations: 176.3 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.058e-05/0.006228, allocations: 59.34 kB / 0.8225 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.006255, allocations: 8 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.0063, allocations: 55.38 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.0063, allocations: 0 / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.002325/0.008625, allocations: 0.8134 MB / 0.8234 GB, free: 13.39 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.340498894453049]