Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001083/0.001083, allocations: 82.64 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.001889/0.001889, allocations: 185 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 1.027/1.027, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.91/1.91, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.808e-05, allocations: 7.031 kB / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001608/0.001636, allocations: 0.7233 MB / 0.8127 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00095/0.002586, allocations: 0.8911 MB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.002638, allocations: 0 / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.002673, allocations: 13.47 kB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.348e-05/0.002767, allocations: 11.88 kB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.002968, allocations: 27.84 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.341e-05/0.003051, allocations: 63.78 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.003148, allocations: 12.7 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.003321, allocations: 48.36 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.003378, allocations: 17.36 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.003398, allocations: 4 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.723e-05/0.003445, allocations: 8 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.003467, allocations: 15.92 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.003489, allocations: 20.45 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.003601, allocations: 41.27 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003603, allocations: 0 / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003604, allocations: 0 / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003608, allocations: 0 / 0.8138 GB, free: 15.62 MB / 0.7761 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.0003916/0.004, allocations: 389.5 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.004046, allocations: 15.97 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.004161, allocations: 22.22 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.004293, allocations: 136.4 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.004311, allocations: 384 / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.004319, allocations: 4.375 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.004435, allocations: 60.25 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.004444, allocations: 192 / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.004452, allocations: 384 / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.004459, allocations: 5 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.069e-05/0.00449, allocations: 11.92 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.004801, allocations: 270.2 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.004944, allocations: 59.03 kB / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.004958, allocations: 10.22 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.004976, allocations: 4.062 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.004999, allocations: 33.39 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.005002, allocations: 3.984 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001388/0.00514, allocations: 49.66 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.005172, allocations: 59.41 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.005254, allocations: 177.9 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.005269, allocations: 26.2 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.005338, allocations: 143.3 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.005359, allocations: 9.828 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.00539, allocations: 27.36 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.005499, allocations: 0.4884 MB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.005511, allocations: 4 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.005543, allocations: 49.06 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.857e-05/0.005572, allocations: 21.52 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.005573, allocations: 0 / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.741e-05/0.005631, allocations: 53.64 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.005644, allocations: 11.88 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005648, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.005657, allocations: 0.6875 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-05/0.005692, allocations: 4 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.005695, allocations: 0.5312 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.005719, allocations: 8.891 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.005725, allocations: 4 kB / 0.8159 GB, free: 13.29 MB / 0.7761 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.371e-05/0.005789, allocations: 157.4 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.005807, allocations: 11.89 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.005827, allocations: 9.219 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.00583, allocations: 4 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.005831, allocations: 0 / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.005834, allocations: 0.8438 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.986e-05/0.005924, allocations: 109.2 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005925, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.005943, allocations: 13.27 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005944, allocations: 0 / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.005948, allocations: 0 / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005949, allocations: 1.25 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.005951, allocations: 3.938 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.795e-05/0.006049, allocations: 187.9 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.006059, allocations: 10.39 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.006071, allocations: 0 / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.006105, allocations: 7.984 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.006141, allocations: 20.23 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.006144, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.79e-05/0.006182, allocations: 131.2 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006182, allocations: 0 / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001339/0.006316, allocations: 8.969 kB / 0.8165 GB, free: 12.57 MB / 0.7761 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 8.266e-05/0.006399, allocations: 92.34 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.155e-05/0.00648, allocations: 35.64 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.006483, allocations: 1.125 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.938e-05/0.006502, allocations: 11.69 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.006685, allocations: 17.72 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.007127, allocations: 163.1 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.007162, allocations: 59.84 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.007195, allocations: 9.453 kB / 0.8169 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.007257, allocations: 82.91 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of SimCode: time 8.91e-07/0.007258, allocations: 0 / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of Templates: time 0.002307/0.009565, allocations: 0.8129 MB / 0.8178 GB, free: 11.26 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.064317752607167]