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.0009689/0.0009689, 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.0009848/0.0009848, allocations: 161 kB / 23.82 MB, free: 0.75 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.9782/0.9782, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.865/1.865, allocations: 359 MB / 0.6052 GB, free: 11.03 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.357e-06/3.357e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.78e-05/4.116e-05, allocations: 6.25 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002535/0.002576, allocations: 0.7112 MB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.003936, allocations: 0.9092 MB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.003993, allocations: 0.8438 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.004033, allocations: 3.938 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.004146, allocations: 8.438 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.004429, allocations: 40.52 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.004539, allocations: 51.8 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.004666, allocations: 20.89 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.004864, allocations: 39.89 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.398e-05/0.004938, allocations: 16.64 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.004961, allocations: 9.656 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.064e-05/0.005012, allocations: 8 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.005034, allocations: 19.91 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.005067, allocations: 15.94 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.00522, allocations: 47.88 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005222, allocations: 1.344 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005224, allocations: 0 / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.005229, allocations: 0 / 0.7889 GB, free: 10.65 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.0005216/0.005751, allocations: 397.9 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.005799, allocations: 8.031 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.005992, allocations: 20.88 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.006224, allocations: 133 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.006247, allocations: 4.375 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.00627, allocations: 11.81 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.006423, allocations: 62.94 kB / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006434, allocations: 192 / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.006445, allocations: 384 / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.006454, allocations: 384 / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.262e-05/0.006516, allocations: 19.86 kB / 0.7895 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.006973, allocations: 283.7 kB / 0.7898 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.007209, allocations: 63.72 kB / 0.7899 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.007244, allocations: 16.28 kB / 0.7899 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.007263, allocations: 3.938 kB / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.007295, allocations: 42.2 kB / 0.7899 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.007297, allocations: 0 / 0.7899 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002073/0.007504, allocations: 46.59 kB / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.007537, allocations: 51.41 kB / 0.79 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.007653, allocations: 178.4 kB / 0.7902 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.007674, allocations: 31.08 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.00775, allocations: 138.8 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.007771, allocations: 11.88 kB / 0.7904 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.007818, allocations: 23.38 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.007964, allocations: 0.4896 MB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.007994, allocations: 11.92 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.008054, allocations: 45.08 kB / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.008106, allocations: 16.34 kB / 0.7909 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.008109, allocations: 4 kB / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/0.008223, allocations: 58.23 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.008243, allocations: 4 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.00825, allocations: 5.156 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.008272, allocations: 3.984 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.008344, allocations: 7.938 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.008353, allocations: 0.7812 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.008398, allocations: 7.219 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.008405, allocations: 0 / 0.791 GB, free: 8.273 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 9.058e-05/0.008496, allocations: 164.6 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.008528, allocations: 11.89 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.00856, allocations: 4 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008563, allocations: 0 / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.008567, allocations: 0 / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.00857, allocations: 0 / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.008724, allocations: 129.8 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.008727, allocations: 3.984 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.008771, allocations: 4 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.008774, allocations: 0.5312 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.008785, allocations: 3.938 kB / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.008787, allocations: 0.5312 kB / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008789, allocations: 0.5625 kB / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.008949, allocations: 192.2 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.008965, allocations: 13.03 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.00899, allocations: 11.94 kB / 0.7915 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.009062, allocations: 4.844 kB / 0.7915 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.009118, allocations: 12.02 kB / 0.7915 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.009123, allocations: 0 / 0.7915 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.732e-05/0.009191, allocations: 136.4 kB / 0.7917 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009191, allocations: 0 / 0.7917 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002695/0.00946, allocations: 8 kB / 0.7917 GB, free: 7.527 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.000112/0.009572, allocations: 96.62 kB / 0.7918 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.009703, allocations: 28.2 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.009705, allocations: 0 / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.009741, allocations: 24.36 kB / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.01002, allocations: 9.703 kB / 0.7918 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.01076, allocations: 167.1 kB / 0.792 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.53e-05/0.0108, allocations: 59.34 kB / 0.792 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.01084, allocations: 7.188 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.01089, allocations: 16.48 kB / 0.7921 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.01089, allocations: 0 / 0.7921 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.00279/0.01368, allocations: 0.7725 MB / 0.7928 GB, free: 6.336 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.435264410916716]