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.001496/0.001496, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001632/0.001632, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.515/1.515, 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.684/2.684, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.234e-06/2.234e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.111e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002183/0.002214, allocations: 0.6947 MB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.003722, allocations: 0.879 MB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.003781, allocations: 0.75 kB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.003818, allocations: 7.875 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.003928, allocations: 8.484 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.004163, allocations: 28.48 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.004296, allocations: 63.78 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.004409, allocations: 21.31 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.004607, allocations: 35.97 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.004684, allocations: 23.91 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.004705, allocations: 4.844 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.067e-05/0.004756, allocations: 12 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.004781, allocations: 16.48 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.004816, allocations: 12.62 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.004992, allocations: 75.75 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004994, allocations: 4.906 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004995, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.005, allocations: 0 / 0.7882 GB, free: 10.97 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.0005761/0.005576, allocations: 286.8 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.005622, allocations: 13.28 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.005821, allocations: 20.88 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.006123, allocations: 147.2 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.00614, allocations: 8.312 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.006155, allocations: 4.375 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.006338, allocations: 66.16 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006347, allocations: 1.406 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.006358, allocations: 384 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.006366, allocations: 4.375 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.006489, allocations: 33.52 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.006973, allocations: 228.5 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.007312, allocations: 74.75 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.231e-05/0.007374, allocations: 16.94 kB / 0.789 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.007399, allocations: 4 kB / 0.789 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.007436, allocations: 38.5 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.007437, allocations: 0 / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002962/0.007733, allocations: 73.61 kB / 0.7891 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.007783, allocations: 51.41 kB / 0.7892 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.00791, allocations: 122.5 kB / 0.7893 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.007934, allocations: 29.7 kB / 0.7893 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.008016, allocations: 93.75 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.008038, allocations: 11.94 kB / 0.7894 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.008089, allocations: 13.72 kB / 0.7894 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003148/0.008404, allocations: 318.8 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.008463, allocations: 12.84 kB / 0.7898 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.008558, allocations: 59.41 kB / 0.7898 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.184e-05/0.00865, allocations: 25.38 kB / 0.7898 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008652, allocations: 5.438 kB / 0.7899 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001703/0.008823, allocations: 73.5 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.008844, allocations: 8 kB / 0.7899 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.00885, allocations: 0.5 kB / 0.7899 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.008869, allocations: 1.344 kB / 0.7899 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.00892, allocations: 4 kB / 0.7899 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.008926, allocations: 0 / 0.7899 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.008992, allocations: 13.27 kB / 0.7899 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.009009, allocations: 7.938 kB / 0.79 GB, free: 8.969 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 0.0001054/0.009114, allocations: 113.8 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.009148, allocations: 12.81 kB / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.009181, allocations: 13.48 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.009183, allocations: 0 / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.00919, allocations: 3.984 kB / 0.7901 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.009192, allocations: 0 / 0.7901 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.009368, allocations: 117.3 kB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009369, allocations: 1.094 kB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.009417, allocations: 7.984 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.00942, allocations: 4.469 kB / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.009433, allocations: 3.938 kB / 0.7902 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.009434, allocations: 0.5312 kB / 0.7902 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009435, allocations: 0.9375 kB / 0.7902 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.009662, allocations: 152.1 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.009676, allocations: 8.703 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.009696, allocations: 3.938 kB / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.00978, allocations: 12.52 kB / 0.7904 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.009836, allocations: 9.359 kB / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.00984, allocations: 0 / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.553e-05/0.009926, allocations: 95.27 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009926, allocations: 0 / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002311/0.01016, allocations: 13.16 kB / 0.7905 GB, free: 8.359 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.0001299/0.01029, allocations: 92.06 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.01046, allocations: 40.84 kB / 0.7906 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01046, allocations: 0 / 0.7906 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.129e-05/0.01052, allocations: 17.31 kB / 0.7906 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.01085, allocations: 7.984 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.01128, allocations: 161.3 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.018e-05/0.01137, allocations: 71.22 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.081e-05/0.01141, allocations: 0 / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.01146, allocations: 16.48 kB / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01146, allocations: 0 / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of Templates: time 0.003862/0.01532, allocations: 0.7623 MB / 0.7916 GB, free: 7.18 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.697018779930659]