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.0009497/0.0009497, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.00108/0.00108, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9372/0.9372, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.813/1.813, allocations: 359 MB / 0.6055 GB, free: 10.84 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 2.164e-06/2.164e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.289e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00264/0.002673, allocations: 0.7112 MB / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003995, allocations: 0.903 MB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.004058, allocations: 0 / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.004096, allocations: 7.922 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.004207, allocations: 17.08 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.004441, allocations: 23.92 kB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.004546, allocations: 59.78 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.004665, allocations: 20.88 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.004885, allocations: 43.84 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.00496, allocations: 20.77 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.004979, allocations: 4 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.005036, allocations: 12.55 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.005055, allocations: 7.938 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.005082, allocations: 17.14 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.005225, allocations: 43.83 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005229, allocations: 0 / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.00523, allocations: 0.5625 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.005235, allocations: 0.7188 kB / 0.7893 GB, free: 10.35 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.0004797/0.005714, allocations: 392.4 kB / 0.7897 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.005772, allocations: 16.88 kB / 0.7897 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.005924, allocations: 16.88 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.006092, allocations: 129.2 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.006116, allocations: 11.81 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.006127, allocations: 4.375 kB / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.006252, allocations: 58.92 kB / 0.7899 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.006262, allocations: 192 / 0.7899 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.006272, allocations: 4.375 kB / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.00628, allocations: 384 / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.006319, allocations: 19.91 kB / 0.79 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.006747, allocations: 264.4 kB / 0.7902 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.006955, allocations: 60.22 kB / 0.7903 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.006977, allocations: 7.688 kB / 0.7903 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.006998, allocations: 5.656 kB / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.007026, allocations: 37.33 kB / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.007027, allocations: 0 / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001596/0.007187, allocations: 49.72 kB / 0.7904 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.007218, allocations: 52.88 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.007318, allocations: 181.9 kB / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.007333, allocations: 25.7 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.007404, allocations: 142.8 kB / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.007425, allocations: 17.45 kB / 0.7908 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.007468, allocations: 19.38 kB / 0.7908 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.007617, allocations: 0.4923 MB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.007631, allocations: 0 / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.007679, allocations: 53.67 kB / 0.7913 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.007714, allocations: 19.67 kB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007716, allocations: 1.938 kB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.614e-05/0.007812, allocations: 45.66 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.00783, allocations: 15.92 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.007835, allocations: 0 / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.007848, allocations: 0 / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.007894, allocations: 8.625 kB / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.007896, allocations: 0 / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.00793, allocations: 8.656 kB / 0.7914 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.007938, allocations: 5.203 kB / 0.7914 GB, free: 8.012 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 8.7e-05/0.008025, allocations: 156.6 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.008052, allocations: 7.953 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.008084, allocations: 12.56 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008086, allocations: 1.125 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.008088, allocations: 0 / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.008092, allocations: 4 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.008222, allocations: 102.1 kB / 0.7917 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.008224, allocations: 3.938 kB / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.008253, allocations: 8 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.008257, allocations: 8.547 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.008262, allocations: 1.125 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008264, allocations: 0 / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.008266, allocations: 3.938 kB / 0.7917 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.008413, allocations: 193 kB / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.008427, allocations: 7.953 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.008442, allocations: 5.156 kB / 0.7919 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.008498, allocations: 7.984 kB / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.008539, allocations: 7.922 kB / 0.7919 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.008544, allocations: 5.031 kB / 0.7919 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.008598, allocations: 139.5 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008598, allocations: 0 / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002153/0.008813, allocations: 8.844 kB / 0.7921 GB, free: 7.293 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 0.0001056/0.008919, allocations: 97.47 kB / 0.7922 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.549e-05/0.009004, allocations: 23.67 kB / 0.7922 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009006, allocations: 0 / 0.7922 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.00903, allocations: 15.62 kB / 0.7922 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.009283, allocations: 14.77 kB / 0.7922 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.009849, allocations: 165.9 kB / 0.7924 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.009899, allocations: 64.92 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.009935, allocations: 5.531 kB / 0.7925 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.01, allocations: 74.7 kB / 0.7925 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.01, allocations: 0 / 0.7925 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of Templates: time 0.003194/0.0132, allocations: 0.8248 MB / 0.7933 GB, free: 5.984 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: 4.960677208844572]