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.001019/0.001019, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009476/0.0009476, allocations: 169 kB / 24.28 MB, free: 276 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.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.938/1.938, allocations: 377.8 MB / 0.6239 GB, free: 8.527 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 1.783e-06/1.783e-06, allocations: 0 / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.711e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001354/0.001381, allocations: 0.7143 MB / 0.8122 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.002267, allocations: 0.9014 MB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.00231, allocations: 0 / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.002338, allocations: 7.875 kB / 0.8131 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.962e-05/0.002427, allocations: 9.297 kB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.002628, allocations: 27.84 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.543e-05/0.002714, allocations: 63.78 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002816, allocations: 13.36 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.002975, allocations: 43.91 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.003034, allocations: 19.97 kB / 0.8132 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.003051, allocations: 4.562 kB / 0.8132 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.83e-05/0.00309, allocations: 13.28 kB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.003104, allocations: 11.98 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.00313, allocations: 15.94 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.003259, allocations: 55.75 kB / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003261, allocations: 1.938 kB / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003262, allocations: 0 / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003266, allocations: 4 kB / 0.8133 GB, free: 192 kB / 0.7605 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.0003929/0.003659, allocations: 388.4 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.003696, allocations: 10 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.003819, allocations: 20.88 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.003972, allocations: 132.5 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.003989, allocations: 4.375 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.004, allocations: 8.375 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.004104, allocations: 63.5 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.00411, allocations: 0.7188 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.00412, allocations: 384 / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.004133, allocations: 5.094 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.004171, allocations: 11.92 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.004468, allocations: 285.7 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.004616, allocations: 58.97 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.00464, allocations: 20.36 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.004651, allocations: 0 / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.004673, allocations: 38.7 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004674, allocations: 0 / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001415/0.004816, allocations: 53.81 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.004842, allocations: 52.56 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.004925, allocations: 173.9 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.004938, allocations: 33.7 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.004993, allocations: 139.7 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.005007, allocations: 7.891 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.005037, allocations: 27.36 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.00515, allocations: 0.4891 MB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.005167, allocations: 4 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.005207, allocations: 58.27 kB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.005241, allocations: 15.69 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.005242, allocations: 0 / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.647e-05/0.005309, allocations: 62.36 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.00532, allocations: 6.812 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005324, allocations: 1.344 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.005335, allocations: 0 / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.507e-05/0.00537, allocations: 7.984 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.005376, allocations: 4 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.005398, allocations: 5.188 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.005402, allocations: 0 / 0.8154 GB, free: 13.82 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.342e-05/0.005466, allocations: 158.5 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.005482, allocations: 11.89 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.005503, allocations: 11.98 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005504, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.005508, allocations: 4 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.005511, allocations: 2.469 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.712e-05/0.005608, allocations: 124.7 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005609, allocations: 0 / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.005626, allocations: 7.984 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005627, allocations: 0 / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.005635, allocations: 7.938 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005636, allocations: 4.438 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005637, allocations: 0 / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.427e-05/0.005731, allocations: 188.5 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.005741, allocations: 9.453 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.005755, allocations: 3.938 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.616e-05/0.005791, allocations: 11.98 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.00583, allocations: 3.984 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.005834, allocations: 4.688 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.005877, allocations: 135.2 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005877, allocations: 5.281 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001478/0.006025, allocations: 8 kB / 0.8161 GB, free: 13.08 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.52e-05/0.00609, allocations: 92.03 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.036e-05/0.006181, allocations: 32.27 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006182, allocations: 0 / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.163e-05/0.006204, allocations: 16.62 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.006384, allocations: 25.64 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.006865, allocations: 162 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.655e-05/0.006901, allocations: 59.34 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.006932, allocations: 14.47 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.006966, allocations: 8.5 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/0.006967, allocations: 4 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.002399/0.009367, allocations: 0.7574 MB / 0.8172 GB, free: 11.88 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.198741773841903]