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.001453/0.001453, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001562/0.001562, allocations: 167.5 kB / 24.86 MB, free: 9.227 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.9598/0.9598, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.82/1.82, allocations: 359 MB / 0.6063 GB, free: 10.91 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 1.793e-06/1.793e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.709e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001557/0.001574, allocations: 0.7077 MB / 0.789 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009514/0.002525, allocations: 0.8984 MB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.002578, allocations: 4.75 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.002608, allocations: 7.922 kB / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.002698, allocations: 8.625 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.002871, allocations: 28.47 kB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.002957, allocations: 63.78 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.003051, allocations: 16.55 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.003211, allocations: 53.23 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.003263, allocations: 11.98 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.003278, allocations: 4 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.755e-05/0.003316, allocations: 8.906 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.003332, allocations: 15.92 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.003353, allocations: 15.98 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.003459, allocations: 44.33 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003461, allocations: 1.25 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003462, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003466, allocations: 0 / 0.7901 GB, free: 10.39 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.0003932/0.003859, allocations: 397.8 kB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.003892, allocations: 8.031 kB / 0.7905 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.004007, allocations: 16.88 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.004149, allocations: 141.7 kB / 0.7906 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.004167, allocations: 384 / 0.7906 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.004178, allocations: 4.375 kB / 0.7906 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.004281, allocations: 59.75 kB / 0.7907 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004289, allocations: 192 / 0.7907 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.004298, allocations: 4.375 kB / 0.7907 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.004304, allocations: 1.344 kB / 0.7907 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.004334, allocations: 15.86 kB / 0.7907 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.00463, allocations: 265 kB / 0.791 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.004785, allocations: 56.62 kB / 0.791 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.004803, allocations: 15.75 kB / 0.791 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.004815, allocations: 1.156 kB / 0.791 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.004838, allocations: 37.33 kB / 0.7911 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.004839, allocations: 0 / 0.7911 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001428/0.004982, allocations: 48.81 kB / 0.7911 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.005084, allocations: 55.41 kB / 0.7912 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.005167, allocations: 177.9 kB / 0.7914 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.005182, allocations: 25.7 kB / 0.7914 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.005241, allocations: 142.8 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.005261, allocations: 11.88 kB / 0.7915 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.005298, allocations: 27.36 kB / 0.7916 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.005421, allocations: 496.1 kB / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.005437, allocations: 8.703 kB / 0.792 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.005473, allocations: 53 kB / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.005504, allocations: 21.59 kB / 0.7921 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005506, allocations: 0 / 0.7921 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.758e-05/0.005574, allocations: 49.66 kB / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.005587, allocations: 7.938 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.005593, allocations: 7.984 kB / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.0056, allocations: 1.75 kB / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.573e-05/0.005636, allocations: 4 kB / 0.7922 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.005639, allocations: 7.875 kB / 0.7922 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.005669, allocations: 4 kB / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.005674, allocations: 5.25 kB / 0.7922 GB, free: 8.051 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 6.788e-05/0.005742, allocations: 156.6 kB / 0.7923 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.005766, allocations: 13.39 kB / 0.7923 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.005786, allocations: 7.938 kB / 0.7924 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005788, allocations: 4 kB / 0.7924 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.005789, allocations: 0 / 0.7924 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.005791, allocations: 0.5938 kB / 0.7924 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.005914, allocations: 109.2 kB / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.005915, allocations: 1.688 kB / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.005935, allocations: 4 kB / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005936, allocations: 0 / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.005943, allocations: 3.984 kB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.005944, allocations: 0.9062 kB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.005946, allocations: 3.938 kB / 0.7925 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.006046, allocations: 191.9 kB / 0.7927 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.006055, allocations: 8.484 kB / 0.7927 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.006068, allocations: 0.5938 kB / 0.7927 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.006122, allocations: 8.516 kB / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.006156, allocations: 11.92 kB / 0.7927 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.006159, allocations: 1.219 kB / 0.7927 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.006203, allocations: 135.2 kB / 0.7928 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006204, allocations: 0 / 0.7928 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002035/0.006407, allocations: 8.531 kB / 0.7928 GB, free: 7.344 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.0001932/0.0066, allocations: 92.62 kB / 0.7929 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.864e-05/0.006679, allocations: 27.66 kB / 0.7929 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.00668, allocations: 1.156 kB / 0.7929 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.006701, allocations: 15.62 kB / 0.793 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.00692, allocations: 12.98 kB / 0.793 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.007346, allocations: 166.7 kB / 0.7931 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.007379, allocations: 60.28 kB / 0.7932 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.007411, allocations: 5.625 kB / 0.7932 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.007468, allocations: 79.02 kB / 0.7933 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.007469, allocations: 0 / 0.7933 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of Templates: time 0.002478/0.009947, allocations: 0.8447 MB / 0.7941 GB, free: 6.023 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.04885800788179]