Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.00102/0.00102, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001021/0.001021, allocations: 161 kB / 23.81 MB, free: 0.7539 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 0.9284/0.9284, allocations: 177.2 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.807/1.807, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.497e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.874e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001578/0.001616, allocations: 0.7077 MB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.002619, allocations: 0.9068 MB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.002675, allocations: 4 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.002713, allocations: 5.156 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.002815, allocations: 15.86 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.003069, allocations: 20.55 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.003175, allocations: 71.7 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.003283, allocations: 9.406 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.003487, allocations: 47.88 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.003547, allocations: 19.92 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.003565, allocations: 4.844 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.736e-05/0.003613, allocations: 8 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.00363, allocations: 8.562 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.003659, allocations: 23.91 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.003799, allocations: 40.59 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.003802, allocations: 3.938 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003804, allocations: 0.9062 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.00381, allocations: 0 / 0.7889 GB, free: 10.63 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.0004544/0.004264, allocations: 393.1 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.004306, allocations: 8.75 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.004446, allocations: 16.88 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.004606, allocations: 142.1 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.004626, allocations: 384 / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.004637, allocations: 4.375 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.004761, allocations: 62.94 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.004768, allocations: 1.531 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.004781, allocations: 384 / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.004788, allocations: 384 / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.004827, allocations: 23.86 kB / 0.7895 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.005195, allocations: 277.3 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.005372, allocations: 60.08 kB / 0.7899 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.005397, allocations: 19.69 kB / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.005412, allocations: 0 / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.005435, allocations: 40.52 kB / 0.7899 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.005437, allocations: 4 kB / 0.7899 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001639/0.005601, allocations: 49.77 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.005634, allocations: 51.41 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.005724, allocations: 177.9 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.00574, allocations: 25.7 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.005805, allocations: 146.8 kB / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.005823, allocations: 11.97 kB / 0.7904 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.005857, allocations: 19.91 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.00599, allocations: 0.4923 MB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.00601, allocations: 8.438 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.189e-05/0.006052, allocations: 49.59 kB / 0.7909 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.006087, allocations: 16.84 kB / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.00609, allocations: 4 kB / 0.7909 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.381e-05/0.006164, allocations: 53.58 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.006179, allocations: 4.5 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.006186, allocations: 4 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.006199, allocations: 0.5312 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.605e-05/0.006245, allocations: 9.312 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.00625, allocations: 0 / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.006277, allocations: 7.984 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.006283, allocations: 1.156 kB / 0.791 GB, free: 8.27 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 (shaT.hys.y,$PRE.shaT.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.291e-05/0.006356, allocations: 160.6 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.006372, allocations: 11.89 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.006396, allocations: 8.938 kB / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006398, allocations: 0 / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.006404, allocations: 5.641 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.006408, allocations: 0 / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.006529, allocations: 124.6 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.006532, allocations: 8 kB / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.006555, allocations: 0 / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006557, allocations: 6.281 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.006567, allocations: 7.922 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006568, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006569, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.006693, allocations: 192.2 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.006708, allocations: 7.953 kB / 0.7915 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.006727, allocations: 11.38 kB / 0.7915 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.539e-05/0.006762, allocations: 4.047 kB / 0.7915 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.006818, allocations: 15.95 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.006822, allocations: 0 / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.006876, allocations: 139.1 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006876, allocations: 0 / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001481/0.007024, allocations: 8 kB / 0.7917 GB, free: 7.516 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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 9.536e-05/0.00712, allocations: 99.84 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.007225, allocations: 20.17 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007226, allocations: 0 / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-05/0.007249, allocations: 20.19 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.007446, allocations: 13.31 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.008022, allocations: 167.9 kB / 0.792 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.817e-05/0.00806, allocations: 55.36 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.008096, allocations: 10.58 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.008128, allocations: 12.5 kB / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.008129, allocations: 0 / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of Templates: time 0.002889/0.01102, allocations: 0.789 MB / 0.7928 GB, free: 6.312 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.009239551145583]