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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 106 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 192 kB / 22.1 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.098/3.098, allocations: 495.8 MB / 0.7831 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002077/0.002077, allocations: 71.89 kB / 1.137 GB, free: 12.27 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 173.6 MB / 1.307 GB, free: 33.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001953/1.127, allocations: 0.7111 MB / 1.307 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008657/1.128, allocations: 0.8433 MB / 1.308 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/1.128, allocations: 0 / 1.308 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/1.128, allocations: 7.875 kB / 1.308 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.718e-05/1.128, allocations: 10.3 kB / 1.308 GB, free: 32.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/1.128, allocations: 26.2 kB / 1.308 GB, free: 32.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.645e-05/1.129, allocations: 61.17 kB / 1.308 GB, free: 32.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/1.129, allocations: 16.47 kB / 1.308 GB, free: 32.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/1.129, allocations: 27.62 kB / 1.308 GB, free: 32.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/1.129, allocations: 30.77 kB / 1.308 GB, free: 32.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/1.129, allocations: 5.219 kB / 1.308 GB, free: 32.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/1.129, allocations: 5.688 kB / 1.308 GB, free: 32.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/1.129, allocations: 14.88 kB / 1.308 GB, free: 32.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/1.129, allocations: 24.98 kB / 1.308 GB, free: 32.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/1.129, allocations: 74.62 kB / 1.309 GB, free: 32.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.129, allocations: 0 / 1.309 GB, free: 32.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.733e-06/1.129, allocations: 2.781 kB / 1.309 GB, free: 32.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.129, allocations: 3.938 kB / 1.309 GB, free: 32.59 MB / 1.061 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.0004275/1.129, allocations: 291.1 kB / 1.309 GB, free: 32.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.129, allocations: 7.875 kB / 1.309 GB, free: 32.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/1.13, allocations: 7.766 kB / 1.309 GB, free: 32.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/1.13, allocations: 138.6 kB / 1.309 GB, free: 32.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/1.13, allocations: 384 / 1.309 GB, free: 32.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/1.13, allocations: 6.969 kB / 1.309 GB, free: 32.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/1.13, allocations: 59.22 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.13, allocations: 8.125 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/1.13, allocations: 7.062 kB / 1.309 GB, free: 32.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.13, allocations: 0 / 1.309 GB, free: 32.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.902e-05/1.13, allocations: 29.91 kB / 1.309 GB, free: 32.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/1.13, allocations: 262.2 kB / 1.309 GB, free: 31.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/1.131, allocations: 79.67 kB / 1.309 GB, free: 31.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/1.131, allocations: 20.73 kB / 1.309 GB, free: 31.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/1.131, allocations: 0 / 1.309 GB, free: 31.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/1.131, allocations: 30.56 kB / 1.309 GB, free: 31.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/1.131, allocations: 0 / 1.309 GB, free: 31.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002415/1.131, allocations: 72.09 kB / 1.31 GB, free: 31.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/1.131, allocations: 65.44 kB / 1.31 GB, free: 31.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/1.131, allocations: 119.7 kB / 1.31 GB, free: 31.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/1.131, allocations: 25.7 kB / 1.31 GB, free: 31.49 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/1.131, allocations: 101.2 kB / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/1.131, allocations: 7.891 kB / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/1.131, allocations: 19.72 kB / 1.31 GB, free: 31.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.87e-05/1.131, allocations: 317.6 kB / 1.31 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/1.131, allocations: 19.88 kB / 1.31 GB, free: 31.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.459e-05/1.131, allocations: 29.83 kB / 1.31 GB, free: 31.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.844e-05/1.131, allocations: 27.7 kB / 1.31 GB, free: 31.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.131, allocations: 0 / 1.31 GB, free: 31.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001227/1.132, allocations: 70.39 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.132, allocations: 2.844 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.132, allocations: 2.844 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.132, allocations: 4.031 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/1.132, allocations: 6.25 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.132, allocations: 2.656 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/1.132, allocations: 9.438 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/1.132, allocations: 0 / 1.31 GB, free: 30.96 MB / 1.061 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 5.978e-05/1.132, allocations: 121.1 kB / 1.31 GB, free: 30.83 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/1.132, allocations: 3.453 kB / 1.31 GB, free: 30.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/1.132, allocations: 11.38 kB / 1.31 GB, free: 30.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/1.132, allocations: 4 kB / 1.31 GB, free: 30.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.132, allocations: 11.11 kB / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.132, allocations: 0 / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/1.132, allocations: 151 kB / 1.311 GB, free: 30.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.132, allocations: 10.75 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/1.132, allocations: 2.656 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.132, allocations: 0 / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/1.132, allocations: 6.234 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.132, allocations: 0 / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.132, allocations: 0 / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/1.132, allocations: 162.1 kB / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/1.132, allocations: 3.953 kB / 1.311 GB, free: 30.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/1.132, allocations: 2.75 kB / 1.311 GB, free: 30.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/1.132, allocations: 6.062 kB / 1.311 GB, free: 30.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/1.132, allocations: 10.19 kB / 1.311 GB, free: 30.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/1.132, allocations: 6.312 kB / 1.311 GB, free: 30.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.431e-05/1.132, allocations: 91.25 kB / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.132, allocations: 4 kB / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000221/1.133, allocations: 8.656 kB / 1.311 GB, free: 30.39 MB / 1.061 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.782e-05/1.133, allocations: 94.97 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001578/1.133, allocations: 34.7 kB / 1.311 GB, free: 30.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.133, allocations: 0 / 1.311 GB, free: 30.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/1.133, allocations: 15.86 kB / 1.311 GB, free: 30.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/1.133, allocations: 17.88 kB / 1.311 GB, free: 30.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/1.133, allocations: 159.9 kB / 1.311 GB, free: 30.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/1.134, allocations: 0.6865 MB / 1.312 GB, free: 29.44 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.804e-05/1.134, allocations: 6.25 kB / 1.312 GB, free: 29.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/1.134, allocations: 14.41 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/1.134, allocations: 0 / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of Templates: time 0.003061/1.137, allocations: 0.7303 MB / 1.313 GB, free: 29.34 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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.065483091399074]