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.001433/0.001433, allocations: 77.97 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.001315/0.001315, allocations: 155.5 kB / 24.86 MB, free: 8.887 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.9908/0.9908, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.9/1.9, allocations: 377.9 MB / 0.6247 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.563e-06/1.563e-06, allocations: 0 / 0.8127 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.329e-05, allocations: 2.859 kB / 0.8127 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001165/0.001179, allocations: 0.7137 MB / 0.8134 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007787/0.001957, allocations: 0.9065 MB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.001998, allocations: 0 / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.002023, allocations: 5.531 kB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.746e-05/0.0021, allocations: 11.86 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.002256, allocations: 27.84 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.002329, allocations: 60.83 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.002414, allocations: 15.97 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.002549, allocations: 48.69 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.002595, allocations: 15.92 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.002608, allocations: 5.688 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.524e-05/0.002644, allocations: 11.98 kB / 0.8145 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.002659, allocations: 15.92 kB / 0.8145 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.002675, allocations: 8 kB / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.06e-05/0.002766, allocations: 47.77 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002768, allocations: 1.531 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002768, allocations: 0 / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002772, allocations: 0 / 0.8146 GB, free: 15.58 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.0003235/0.003095, allocations: 398.1 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.003125, allocations: 12.02 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.003222, allocations: 12.89 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.003336, allocations: 132.5 kB / 0.8151 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.003355, allocations: 1.562 kB / 0.8151 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.003364, allocations: 8.375 kB / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.003459, allocations: 58.92 kB / 0.8152 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003466, allocations: 5.812 kB / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.003473, allocations: 4.375 kB / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.003478, allocations: 384 / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.003502, allocations: 15.86 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.003735, allocations: 263 kB / 0.8154 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.003859, allocations: 58.97 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.294e-05/0.003871, allocations: 11.75 kB / 0.8155 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.003882, allocations: 3.938 kB / 0.8155 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.003901, allocations: 33.39 kB / 0.8155 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.003901, allocations: 0.7188 kB / 0.8155 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001085/0.00401, allocations: 49.91 kB / 0.8156 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.004036, allocations: 59.92 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.004103, allocations: 175.5 kB / 0.8158 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.004115, allocations: 25.7 kB / 0.8158 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.004165, allocations: 142.8 kB / 0.816 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.004181, allocations: 19.81 kB / 0.816 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.004207, allocations: 19.94 kB / 0.816 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.004313, allocations: 0.4923 MB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.004323, allocations: 4.5 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.004354, allocations: 49.94 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.00438, allocations: 19.67 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004381, allocations: 1.156 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.332e-05/0.004435, allocations: 49.64 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.004446, allocations: 7.938 kB / 0.8166 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.004449, allocations: 1.375 kB / 0.8166 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.004456, allocations: 0 / 0.8166 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.743e-05/0.004484, allocations: 7.938 kB / 0.8166 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.004486, allocations: 0 / 0.8166 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.00451, allocations: 16.48 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.004514, allocations: 1.031 kB / 0.8167 GB, free: 13.25 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 5.664e-05/0.00457, allocations: 152.6 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.004587, allocations: 8.859 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.004606, allocations: 15.94 kB / 0.8168 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.004608, allocations: 0.8438 kB / 0.8168 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.004609, allocations: 0 / 0.8168 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.004611, allocations: 0 / 0.8168 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.875e-05/0.0047, allocations: 107.4 kB / 0.8169 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.0047, allocations: 0 / 0.8169 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.004714, allocations: 7.984 kB / 0.8169 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.004715, allocations: 3.938 kB / 0.8169 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.00472, allocations: 4 kB / 0.8169 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.00472, allocations: 2.625 kB / 0.8169 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.004722, allocations: 3.938 kB / 0.8169 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.00481, allocations: 195.9 kB / 0.8171 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.004817, allocations: 3.953 kB / 0.8171 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.004827, allocations: 0 / 0.8171 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.004862, allocations: 11.98 kB / 0.8171 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.004893, allocations: 11.92 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.004895, allocations: 1.656 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.004933, allocations: 135.2 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004933, allocations: 0 / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001365/0.00507, allocations: 8 kB / 0.8173 GB, free: 12.54 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 6.385e-05/0.005134, allocations: 100.3 kB / 0.8174 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.902e-05/0.005203, allocations: 24.95 kB / 0.8174 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.21e-07/0.005203, allocations: 0 / 0.8174 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.00522, allocations: 11.69 kB / 0.8174 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.005377, allocations: 9.594 kB / 0.8174 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.005754, allocations: 170.8 kB / 0.8176 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.057e-05/0.005785, allocations: 59.34 kB / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.005815, allocations: 7.969 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.005863, allocations: 82.12 kB / 0.8177 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.005864, allocations: 0 / 0.8177 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.002119/0.007983, allocations: 0.8202 MB / 0.8185 GB, free: 11.22 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.1961616752669215]