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.001397/0.001397, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001619/0.001619, allocations: 221.8 kB / 23 MB, free: 4.91 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.249/3.249, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.002177/0.002177, allocations: 66.62 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3114, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002026/0.3134, allocations: 0.6924 MB / 1.327 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3147, allocations: 0.8783 MB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.3147, allocations: 4 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.3148, allocations: 3.938 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.3149, allocations: 15.86 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3151, allocations: 15.98 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3152, allocations: 63.78 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3153, allocations: 11.98 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.3154, allocations: 31.86 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.3155, allocations: 31.84 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3155, allocations: 4 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.407e-05/0.3156, allocations: 12 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.868e-05/0.3156, allocations: 11.98 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.3156, allocations: 23.86 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.3158, allocations: 75.64 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3158, allocations: 3.938 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3158, allocations: 0 / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3158, allocations: 4 kB / 1.328 GB, free: 12 kB / 1.014 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.0005445/0.3163, allocations: 290.1 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3164, allocations: 16.03 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.3165, allocations: 12.92 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.3168, allocations: 130.4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3168, allocations: 384 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3168, allocations: 8.375 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.317, allocations: 58.23 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.317, allocations: 192 / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.317, allocations: 3.938 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.317, allocations: 0 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3171, allocations: 39.91 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.3175, allocations: 236.5 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.3178, allocations: 74.45 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3179, allocations: 12.86 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3179, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3179, allocations: 38.64 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3179, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002609/0.3182, allocations: 73.56 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3182, allocations: 51.41 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3183, allocations: 121.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3184, allocations: 29.7 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.3184, allocations: 96.06 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.3185, allocations: 15.97 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.3185, allocations: 17.72 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3187, allocations: 314.8 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.3187, allocations: 23.92 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-05/0.3188, allocations: 55.42 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.076e-05/0.3189, allocations: 28.83 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3189, allocations: 7.938 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.319, allocations: 57.69 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.319, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3191, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3191, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.3191, allocations: 11.92 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3191, allocations: 4.031 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.3192, allocations: 11.98 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.3192, allocations: 0 / 1.33 GB, free: 14 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.48e-05/0.3193, allocations: 117.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.3193, allocations: 7.953 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.3194, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3194, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3194, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3194, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.3195, allocations: 125.2 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3195, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.3196, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3196, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3196, allocations: 4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3196, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3196, allocations: 3.938 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.3198, allocations: 163.7 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.3198, allocations: 7.984 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3198, allocations: 11.98 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.3199, allocations: 8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.3199, allocations: 3.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3199, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.509e-05/0.32, allocations: 95.27 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.32, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002288/0.3202, allocations: 8 kB / 1.33 GB, free: 13.38 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.0001083/0.3203, allocations: 103.2 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.3205, allocations: 31.98 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3205, allocations: 7.938 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.825e-05/0.3205, allocations: 19.92 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.3208, allocations: 14.89 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.3212, allocations: 185.9 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.996e-05/0.3213, allocations: 67.34 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.3213, allocations: 15.42 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of SimCode: time 4.6e-07/0.3213, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Templates: time 0.002433/0.3238, allocations: 0.8554 MB / 1.332 GB, free: 12.02 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.986875304952264]