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.001565/0.001565, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001669/0.001669, allocations: 219 kB / 23.05 MB, free: 4.844 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.097/3.097, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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_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: 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.002004/0.002004, allocations: 69.41 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001898/0.3, allocations: 0.6888 MB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3011, allocations: 0.8822 MB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.3012, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.3012, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.78e-05/0.3013, allocations: 15.88 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3015, allocations: 27.91 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.3016, allocations: 63.78 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3017, allocations: 11.98 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3018, allocations: 27.92 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.3019, allocations: 27.84 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3019, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.3019, allocations: 11.94 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.302, allocations: 15.98 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.302, allocations: 15.88 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.3021, allocations: 83.62 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3021, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3021, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3021, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 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.0004624/0.3026, allocations: 286.2 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3026, allocations: 12.03 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.3028, allocations: 20.88 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.303, allocations: 134.4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.303, allocations: 384 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3031, allocations: 12.36 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3032, allocations: 58.17 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3032, allocations: 192 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3032, allocations: 11.94 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3032, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3033, allocations: 23.98 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.3037, allocations: 236.5 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.304, allocations: 78.47 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.3041, allocations: 20.88 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3041, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3041, allocations: 38.5 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3041, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002541/0.3044, allocations: 73.56 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.3044, allocations: 51.41 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3045, allocations: 129.8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3045, allocations: 29.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.3046, allocations: 92.08 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.3046, allocations: 15.94 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.3047, allocations: 13.72 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3048, allocations: 314.8 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.3049, allocations: 15.98 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.3049, allocations: 55.41 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.305, allocations: 28.84 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.305, allocations: 3.938 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001448/0.3052, allocations: 77.59 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3052, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.3052, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3052, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.3052, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3053, allocations: 4 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.3053, allocations: 7.984 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.3053, allocations: 0 / 1.331 GB, free: 13.09 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 (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 9.739e-05/0.3054, allocations: 117.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.3054, allocations: 11.95 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.3055, allocations: 11.98 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3055, allocations: 336 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3055, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3055, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.3056, allocations: 125.2 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3056, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.3057, allocations: 7.984 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3057, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3057, allocations: 3.938 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3057, allocations: 11.94 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3057, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.3059, allocations: 159.4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.3059, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3059, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.306, allocations: 7.984 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.306, allocations: 7.984 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.306, allocations: 7.938 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.3061, allocations: 91.27 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3061, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002193/0.3063, allocations: 15.95 kB / 1.331 GB, free: 12.44 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 (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.0001512/0.3065, allocations: 103.2 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.3066, allocations: 35.91 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.3066, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.3067, allocations: 8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.307, allocations: 15.92 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.3074, allocations: 188.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.77e-05/0.3074, allocations: 72.58 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.3075, allocations: 7.438 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3075, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of Templates: time 0.002268/0.3098, allocations: 0.8655 MB / 1.333 GB, free: 11.09 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.549191115191206]