Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001301/0.001301, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001188/0.001188, allocations: 165.3 kB / 23.02 MB, free: 1.555 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.9694/0.9694, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.131/2.131, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.882e-05, allocations: 3.562 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001223/0.001241, allocations: 0.7224 MB / 0.8788 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.002112, allocations: 0.9043 MB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.002158, allocations: 0 / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.002189, allocations: 5.062 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.00228, allocations: 13.62 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.002473, allocations: 25.5 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.592e-05/0.002559, allocations: 67.77 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.002658, allocations: 8 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.002803, allocations: 51.83 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.002866, allocations: 18.27 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.002887, allocations: 8 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.002927, allocations: 8 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.00294, allocations: 7.984 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.002968, allocations: 27.91 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003079, allocations: 39.84 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003081, allocations: 2.188 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003082, allocations: 0 / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.003085, allocations: 0 / 0.88 GB, free: 4.48 MB / 0.8386 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.0003689/0.003454, allocations: 396.4 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.003489, allocations: 12.03 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.003607, allocations: 13.64 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.003765, allocations: 140.4 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.003784, allocations: 6.016 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.003797, allocations: 4.375 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.0039, allocations: 58.95 kB / 0.8806 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.003909, allocations: 192 / 0.8806 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.003919, allocations: 5.656 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.003926, allocations: 384 / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.003962, allocations: 19.91 kB / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.004275, allocations: 291.7 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.004431, allocations: 55.03 kB / 0.8809 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.004452, allocations: 11.75 kB / 0.8809 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.004467, allocations: 0 / 0.8809 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.00449, allocations: 45.33 kB / 0.881 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.004491, allocations: 0 / 0.881 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001478/0.004638, allocations: 49.67 kB / 0.881 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.004665, allocations: 51.41 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.004748, allocations: 193.8 kB / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.004762, allocations: 25.7 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.004815, allocations: 138.9 kB / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.004833, allocations: 15.83 kB / 0.8814 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.004862, allocations: 23.38 kB / 0.8815 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.004975, allocations: 0.4923 MB / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.004991, allocations: 4 kB / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.005028, allocations: 45.08 kB / 0.882 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.00506, allocations: 27.61 kB / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005062, allocations: 0 / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.036e-05/0.005122, allocations: 49.62 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.005134, allocations: 12.03 kB / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005138, allocations: 0 / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.00515, allocations: 0 / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.408e-05/0.005184, allocations: 4 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.005189, allocations: 0 / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.005215, allocations: 15.94 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.00522, allocations: 0 / 0.8821 GB, free: 2.086 MB / 0.8386 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.741e-05/0.005287, allocations: 160.5 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.005305, allocations: 7.938 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.005328, allocations: 12 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005329, allocations: 0 / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.005333, allocations: 0 / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.005336, allocations: 4 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.005437, allocations: 132.7 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005438, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.005452, allocations: 4 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.005454, allocations: 0 / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.005461, allocations: 3.938 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005462, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005463, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.005564, allocations: 208.2 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.005573, allocations: 7.891 kB / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.005587, allocations: 3.938 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/0.005619, allocations: 4 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.005662, allocations: 15.92 kB / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.005665, allocations: 0 / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.005709, allocations: 135.2 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005709, allocations: 0 / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001388/0.005847, allocations: 8 kB / 0.8828 GB, free: 1.328 MB / 0.8386 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 6.778e-05/0.005915, allocations: 103.2 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.005998, allocations: 19.69 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005999, allocations: 4 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.00602, allocations: 19.61 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.00619, allocations: 4 kB / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.006676, allocations: 166.1 kB / 0.8831 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.00671, allocations: 59.36 kB / 0.8831 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002683/0.006979, allocations: 7.984 kB / 0.8831 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.007009, allocations: 12.5 kB / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.00701, allocations: 0 / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of Templates: time 0.002229/0.009238, allocations: 0.7587 MB / 0.8839 GB, free: 132 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.436742877122015]