Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00106/0.00106, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002361, allocations: 449.8 kB / 10.44 MB, free: 252 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.001056/0.001056, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002401, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9441/0.9441, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09094/1.035, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.945/1.945, allocations: 378.4 MB / 0.6079 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5105/2.456, allocations: 123.3 MB / 0.7283 GB, free: 5.789 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7296 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.494e-05, allocations: 3.078 kB / 0.7296 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002041/0.002066, allocations: 0.7506 MB / 0.7303 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003135, allocations: 0.9023 MB / 0.7312 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.003189, allocations: 3.938 kB / 0.7312 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.003213, allocations: 3.938 kB / 0.7312 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.003273, allocations: 16.52 kB / 0.7312 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.003387, allocations: 23.92 kB / 0.7313 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.003494, allocations: 66.41 kB / 0.7313 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.00358, allocations: 16.75 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.003765, allocations: 52.7 kB / 0.7314 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.003826, allocations: 21.72 kB / 0.7314 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.003842, allocations: 7.938 kB / 0.7314 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.623e-05/0.003898, allocations: 8 kB / 0.7314 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.003916, allocations: 4 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.003942, allocations: 20.44 kB / 0.7315 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.004083, allocations: 37.2 kB / 0.7315 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.004099, allocations: 0 / 0.7315 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.0041, allocations: 0 / 0.7315 GB, free: 2.641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.004118, allocations: 0 / 0.7315 GB, free: 2.641 MB / 0.698 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.0004697/0.004587, allocations: 273 kB / 0.7318 GB, free: 2.348 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.004628, allocations: 12.97 kB / 0.7318 GB, free: 2.336 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.004814, allocations: 90.03 kB / 0.7318 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.004981, allocations: 134.2 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.005001, allocations: 5.25 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.005016, allocations: 4.375 kB / 0.732 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.005144, allocations: 60.22 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.005152, allocations: 192 / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005161, allocations: 384 / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.00517, allocations: 4.375 kB / 0.732 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.005202, allocations: 12.73 kB / 0.7321 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.005493, allocations: 176.8 kB / 0.7322 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.005655, allocations: 48.27 kB / 0.7323 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.005673, allocations: 8.938 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.005688, allocations: 4 kB / 0.7323 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.005717, allocations: 31.38 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.005719, allocations: 0 / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000145/0.005864, allocations: 53.56 kB / 0.7324 GB, free: 1.629 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.005897, allocations: 52.75 kB / 0.7324 GB, free: 1.566 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.005987, allocations: 126.6 kB / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.006008, allocations: 29.7 kB / 0.7326 GB, free: 1.395 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.006056, allocations: 92.78 kB / 0.7327 GB, free: 1.301 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.006078, allocations: 15.89 kB / 0.7327 GB, free: 1.285 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.006116, allocations: 15.19 kB / 0.7327 GB, free: 1.266 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.006218, allocations: 322.8 kB / 0.733 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.006233, allocations: 4 kB / 0.733 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.165e-05/0.006275, allocations: 47.41 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.00631, allocations: 13.67 kB / 0.7331 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.006313, allocations: 0 / 0.7331 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.421e-05/0.006387, allocations: 42.86 kB / 0.7331 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.006403, allocations: 8 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.006412, allocations: 13.66 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.006427, allocations: 0 / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.006482, allocations: 8 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.006485, allocations: 0 / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.006517, allocations: 4 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.006523, allocations: 4.484 kB / 0.7331 GB, free: 0.7812 MB / 0.698 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 7.624e-05/0.006599, allocations: 114.9 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.006622, allocations: 4 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.006654, allocations: 12.5 kB / 0.7333 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006656, allocations: 0 / 0.7333 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.006657, allocations: 1.125 kB / 0.7333 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.00666, allocations: 0 / 0.7333 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.006784, allocations: 73.88 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006785, allocations: 4.719 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.006822, allocations: 7.984 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.006833, allocations: 5.109 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.006836, allocations: 0 / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.006841, allocations: 0 / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.006844, allocations: 9.188 kB / 0.7334 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006845, allocations: 0 / 0.7334 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.006953, allocations: 135.5 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.00697, allocations: 5.016 kB / 0.7335 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.007028, allocations: 7.938 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.007072, allocations: 11.86 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.007076, allocations: 0.5312 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.007106, allocations: 30.48 kB / 0.7335 GB, free: 328 kB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.007106, allocations: 0 / 0.7335 GB, free: 328 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002013/0.007307, allocations: 4 kB / 0.7335 GB, free: 324 kB / 0.698 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 0.000128/0.007435, allocations: 77.64 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.81e-05/0.007533, allocations: 20.84 kB / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.00754, allocations: 0 / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.007569, allocations: 13.52 kB / 0.7336 GB, free: 200 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.0078, allocations: 24 kB / 0.7337 GB, free: 180 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.008904, allocations: 165.9 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.495e-05/0.008949, allocations: 60.67 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.344e-05/0.008993, allocations: 9.984 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.009063, allocations: 63.36 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/0.009064, allocations: 0 / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.003475/0.01254, allocations: 0.8075 MB / 0.7347 GB, free: 15.07 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.844360743649304]