Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001444/0.001444, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001572/0.001572, allocations: 165.3 kB / 23.55 MB, free: 0.8594 MB / 18.57 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.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.804/2.804, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.31e-06, allocations: 4 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.366e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002153/0.002187, allocations: 0.6933 MB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.003539, allocations: 0.8836 MB / 0.7879 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.003585, allocations: 0 / 0.7879 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.319e-05/0.003628, allocations: 3.938 kB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.003734, allocations: 13.12 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.003954, allocations: 31.89 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.004062, allocations: 55.8 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.004167, allocations: 16.92 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.004376, allocations: 43.83 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.729e-05/0.004453, allocations: 17.08 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.004473, allocations: 4 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.586e-05/0.004519, allocations: 8 kB / 0.7881 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.004561, allocations: 20.58 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.004597, allocations: 11.98 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.004763, allocations: 81.25 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.004768, allocations: 4 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.92e-07/0.004769, allocations: 0 / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.004773, allocations: 0 / 0.7882 GB, free: 11.01 MB / 0.7448 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.0005492/0.005322, allocations: 293.4 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.00536, allocations: 12.03 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.005552, allocations: 16.88 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.005817, allocations: 137.7 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.005838, allocations: 4.375 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.005855, allocations: 4.375 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.006016, allocations: 59.05 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.006025, allocations: 192 / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.006037, allocations: 384 / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.006044, allocations: 4.969 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.006162, allocations: 37.34 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.006634, allocations: 232.5 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.006939, allocations: 72.39 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.006996, allocations: 16.92 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.007014, allocations: 1.531 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.007048, allocations: 38.59 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.007049, allocations: 0 / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002905/0.007339, allocations: 70.25 kB / 0.7891 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.007386, allocations: 55.34 kB / 0.7892 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.007518, allocations: 123.8 kB / 0.7893 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.007551, allocations: 33.7 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.007629, allocations: 96.14 kB / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.007648, allocations: 7.953 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.007691, allocations: 17.72 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.007875, allocations: 319.4 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.007936, allocations: 16.7 kB / 0.7898 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.008024, allocations: 51.42 kB / 0.7898 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.008119, allocations: 30.53 kB / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008121, allocations: 0 / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001606/0.008282, allocations: 82.11 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.008299, allocations: 6.031 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008304, allocations: 5.031 kB / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.008324, allocations: 0 / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.008387, allocations: 8.734 kB / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008392, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.008453, allocations: 12.61 kB / 0.79 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.008462, allocations: 4 kB / 0.79 GB, free: 9.008 MB / 0.7448 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 0.0001079/0.00857, allocations: 115.1 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.008601, allocations: 7.891 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.00863, allocations: 12.5 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008631, allocations: 0 / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.008636, allocations: 1.031 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.008638, allocations: 0 / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.008817, allocations: 121.3 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008818, allocations: 4.906 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.008862, allocations: 4 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008863, allocations: 0.8438 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.008874, allocations: 3.938 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008875, allocations: 2.188 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.008878, allocations: 3.938 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.009094, allocations: 152.1 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.009116, allocations: 15.88 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.009136, allocations: 3.938 kB / 0.7904 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.009215, allocations: 6.688 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.009282, allocations: 11.98 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.009286, allocations: 0 / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.099e-05/0.009367, allocations: 95.27 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009367, allocations: 0 / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002276/0.009594, allocations: 8 kB / 0.7905 GB, free: 8.402 MB / 0.7448 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.0001315/0.009726, allocations: 100.8 kB / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.01, allocations: 31.92 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01, allocations: 0.5 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.091e-05/0.01006, allocations: 20.48 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.01038, allocations: 8.5 kB / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.01078, allocations: 160.1 kB / 0.7908 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.774e-05/0.01085, allocations: 67.91 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.01089, allocations: 5.078 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.01093, allocations: 13.16 kB / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01093, allocations: 3.938 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of Templates: time 0.003662/0.01459, allocations: 0.7548 MB / 0.7916 GB, free: 7.219 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.851329201017506]