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.001091/0.001091, 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.001095/0.001095, 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 1.022/1.022, 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 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.967/1.967, allocations: 377.8 MB / 0.6236 GB, free: 8.582 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 3.276e-06/3.276e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.824 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.588e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001429/0.001465, allocations: 0.7094 MB / 0.8122 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.002384, allocations: 0.8988 MB / 0.8131 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.002429, allocations: 3.938 kB / 0.8131 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.002459, allocations: 8.828 kB / 0.8131 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.633e-05/0.002535, allocations: 12.52 kB / 0.8131 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.002717, allocations: 27.92 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.863e-05/0.002795, allocations: 60.66 kB / 0.8132 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.002882, allocations: 19.97 kB / 0.8132 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.003014, allocations: 40.86 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.003067, allocations: 19.95 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.003083, allocations: 9.656 kB / 0.8133 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.818e-05/0.003122, allocations: 12 kB / 0.8133 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.003133, allocations: 7.938 kB / 0.8133 GB, free: 0 / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.003174, allocations: 20.05 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.003287, allocations: 43.89 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003289, allocations: 1.531 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00329, allocations: 0 / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.003294, allocations: 0 / 0.8133 GB, free: 15.93 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.0003612/0.003656, allocations: 393.6 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.003691, allocations: 12.03 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.003817, allocations: 12.89 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.003975, allocations: 149.7 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.003991, allocations: 4.359 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.004002, allocations: 4.375 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.436e-05/0.004097, allocations: 67.45 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004103, allocations: 192 / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004111, allocations: 1.094 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.004116, allocations: 384 / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.00415, allocations: 16.44 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.004458, allocations: 285.2 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.004621, allocations: 59.03 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/0.004645, allocations: 12.38 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.004663, allocations: 0.9062 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.004685, allocations: 41.33 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.934e-06/0.004686, allocations: 0.6875 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001578/0.004844, allocations: 53.7 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.004872, allocations: 52 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.004957, allocations: 177.9 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.004971, allocations: 27.08 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.005026, allocations: 142.8 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.005042, allocations: 11.89 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.005075, allocations: 25.12 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.005183, allocations: 0.4884 MB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.005202, allocations: 4 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.005244, allocations: 53.06 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.005278, allocations: 19.62 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00528, allocations: 2.312 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.863e-05/0.005348, allocations: 53.58 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.00536, allocations: 4 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.005364, allocations: 4 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.005379, allocations: 3.938 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.005422, allocations: 4 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005427, allocations: 3.375 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.005454, allocations: 7.984 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005459, allocations: 4 kB / 0.8154 GB, free: 13.56 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.577e-05/0.005525, allocations: 156.6 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.005545, allocations: 11.89 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.005569, allocations: 8.328 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.005571, allocations: 7.922 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.005575, allocations: 0 / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.005578, allocations: 4.953 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.005683, allocations: 128.6 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005684, allocations: 0.5 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.005704, allocations: 8 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.005706, allocations: 0.5625 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.005713, allocations: 8.484 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005714, allocations: 1.125 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005715, allocations: 0 / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.005815, allocations: 187.9 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.005825, allocations: 7.953 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.00584, allocations: 4.75 kB / 0.816 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.005876, allocations: 10.14 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.005918, allocations: 7.984 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.005923, allocations: 4 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.005966, allocations: 135.1 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005966, allocations: 0 / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001466/0.006113, allocations: 12 kB / 0.8161 GB, free: 12.81 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.009e-05/0.006193, allocations: 97 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.26e-05/0.006285, allocations: 23.67 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006287, allocations: 0 / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.712e-05/0.006314, allocations: 16.91 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.006494, allocations: 7.984 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.007012, allocations: 172.1 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.007047, allocations: 63.28 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.007077, allocations: 9.953 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.007111, allocations: 12.5 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.007111, allocations: 0 / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.002483/0.009595, allocations: 0.7728 MB / 0.8173 GB, free: 11.61 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.4591613239608705]