Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.0008276/0.0008276, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002111, 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.0007218/0.0007218, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002197, 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.9913/0.9913, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09638/1.088, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.454/2.454, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2737/2.728, allocations: 145.9 MB / 0.817 GB, free: 4.215 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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.166e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00131/0.001331, allocations: 0.7508 MB / 0.819 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007741/0.002105, allocations: 0.8936 MB / 0.8199 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.002142, allocations: 4 kB / 0.8199 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.002166, allocations: 11.86 kB / 0.8199 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.002208, allocations: 15.86 kB / 0.8199 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.395e-05/0.002302, allocations: 23.92 kB / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.732e-05/0.002379, allocations: 59.8 kB / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.002467, allocations: 23.91 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.002601, allocations: 47.84 kB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.002653, allocations: 19.91 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.002669, allocations: 8 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-05/0.00272, allocations: 11.98 kB / 0.8201 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.002733, allocations: 11.94 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.00275, allocations: 8 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.78e-05/0.002848, allocations: 43.8 kB / 0.8201 GB, free: 1 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.00286, allocations: 0 / 0.8201 GB, free: 1 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002861, allocations: 0 / 0.8201 GB, free: 1 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.002872, allocations: 0 / 0.8201 GB, free: 1 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.0003332/0.003205, allocations: 272.4 kB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.003236, allocations: 8.625 kB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.003376, allocations: 98.03 kB / 0.8205 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.003496, allocations: 137.5 kB / 0.8206 GB, free: 436 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.00351, allocations: 4.375 kB / 0.8206 GB, free: 432 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.003518, allocations: 4.375 kB / 0.8206 GB, free: 428 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.215e-05/0.0036, allocations: 58.94 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.003606, allocations: 192 / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.003612, allocations: 384 / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.003615, allocations: 384 / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.003639, allocations: 11.94 kB / 0.8207 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.003836, allocations: 180.2 kB / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.00395, allocations: 46.55 kB / 0.8209 GB, free: 96 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.003962, allocations: 8.859 kB / 0.8209 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.003974, allocations: 0 / 0.8209 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.004137, allocations: 38.56 kB / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004137, allocations: 0 / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.000105/0.004242, allocations: 53.64 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.004269, allocations: 55.41 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.004328, allocations: 119.1 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.004343, allocations: 25.7 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.004377, allocations: 96.06 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.004391, allocations: 15.94 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.004417, allocations: 13.72 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.004486, allocations: 318.8 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.004495, allocations: 4 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.004523, allocations: 39.61 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.004548, allocations: 24.86 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00455, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.086e-05/0.004591, allocations: 41.69 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.004601, allocations: 4 kB / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.004606, allocations: 3.969 kB / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.004614, allocations: 11.94 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.738e-05/0.004651, allocations: 11.98 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.004654, allocations: 0 / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.004675, allocations: 7.953 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.004678, allocations: 0 / 0.8218 GB, free: 15.13 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 (shaH.hys.y,$PRE.shaH.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.95e-05/0.004728, allocations: 109.8 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.004742, allocations: 7.922 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.004763, allocations: 15.94 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/0.004763, allocations: 0 / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.004765, allocations: 4 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004768, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.092e-05/0.004848, allocations: 73.88 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004849, allocations: 0 / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.004864, allocations: 4 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.004872, allocations: 7.984 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.004873, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.004877, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.004878, allocations: 3.938 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.004879, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.483e-05/0.004944, allocations: 135.5 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.004955, allocations: 8 kB / 0.8221 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.097e-05/0.004986, allocations: 3.984 kB / 0.8221 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.005018, allocations: 15.86 kB / 0.8221 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.00502, allocations: 0 / 0.8221 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.824e-05/0.005038, allocations: 28.88 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005038, allocations: 0 / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001142/0.005153, allocations: 11.95 kB / 0.8222 GB, free: 14.66 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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 7.676e-05/0.005229, allocations: 76.42 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.604e-05/0.005295, allocations: 20.84 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.005301, allocations: 8 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.005314, allocations: 8.859 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.000124/0.005438, allocations: 16 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.006114, allocations: 172.2 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.006149, allocations: 55.36 kB / 0.8225 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.006179, allocations: 16.25 kB / 0.8225 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.006231, allocations: 51.38 kB / 0.8226 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.006231, allocations: 0 / 0.8226 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.00223/0.008461, allocations: 0.8108 MB / 0.8234 GB, free: 13.38 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.289796683005989]