Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.001052/0.001052, 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.00161/0.00161, 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.079/1.079, 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.906/1.906, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.708e-05, allocations: 3.062 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002022/0.002049, allocations: 0.7049 MB / 0.8122 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.003525, allocations: 0.8945 MB / 0.813 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.003601, allocations: 5.25 kB / 0.813 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.003645, allocations: 3.938 kB / 0.8131 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.003778, allocations: 11.86 kB / 0.8131 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.004063, allocations: 33.31 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.004172, allocations: 63.78 kB / 0.8132 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.004285, allocations: 8 kB / 0.8132 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.004468, allocations: 45.39 kB / 0.8132 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.004532, allocations: 11.98 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.004553, allocations: 8 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.725e-05/0.0046, allocations: 11.98 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.004616, allocations: 17.33 kB / 0.8133 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.004646, allocations: 19.92 kB / 0.8133 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.004778, allocations: 47.83 kB / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00478, allocations: 0 / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004781, allocations: 0.625 kB / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.004786, allocations: 0 / 0.8133 GB, free: 248 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.0004615/0.005247, allocations: 389.5 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.005294, allocations: 15.97 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.005438, allocations: 17.5 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.005634, allocations: 138.5 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.005655, allocations: 4.375 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.005667, allocations: 4.375 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.005786, allocations: 62.94 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005793, allocations: 192 / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005803, allocations: 0.9062 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.005811, allocations: 1.094 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/0.005852, allocations: 23.86 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.006192, allocations: 289 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.006359, allocations: 59.59 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.006383, allocations: 11.75 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.006396, allocations: 1.125 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.006421, allocations: 41.33 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.006422, allocations: 0 / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001599/0.006582, allocations: 46.53 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.006612, allocations: 51.41 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.006704, allocations: 182.6 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.006721, allocations: 29.64 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.006782, allocations: 144.1 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.006799, allocations: 11.89 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.006829, allocations: 19.38 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.006946, allocations: 0.4942 MB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.006963, allocations: 4 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.007005, allocations: 49.08 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.007038, allocations: 19.67 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.00704, allocations: 0 / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.623e-05/0.007107, allocations: 54.55 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.00712, allocations: 11.94 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.007124, allocations: 6.25 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.007137, allocations: 0 / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.116e-05/0.007179, allocations: 8 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007184, allocations: 0 / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.007208, allocations: 7.984 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.007214, allocations: 0 / 0.8154 GB, free: 13.87 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 (shaH.hys.y,$PRE.shaH.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 7.335e-05/0.007287, allocations: 164 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.007303, allocations: 11.89 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.007326, allocations: 8 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.007328, allocations: 0 / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.007331, allocations: 0 / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007335, allocations: 336 / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.007439, allocations: 128.6 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.00744, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.535e-05/0.007456, allocations: 4 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007457, allocations: 4.703 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.007466, allocations: 7.938 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007468, allocations: 0.5 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007468, allocations: 0.5625 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.007574, allocations: 199.9 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.007584, allocations: 4.516 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.0076, allocations: 5.281 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.007633, allocations: 4 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.007678, allocations: 7.984 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.007682, allocations: 0.5938 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.65e-05/0.007728, allocations: 135.2 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007728, allocations: 0.8125 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001414/0.007869, allocations: 8 kB / 0.8161 GB, free: 13.13 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.103e-05/0.007951, allocations: 106.4 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.685e-05/0.008047, allocations: 28.95 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.008049, allocations: 0 / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.008069, allocations: 11.69 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.008251, allocations: 20.66 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.008717, allocations: 161.9 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.008756, allocations: 59.34 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.008782, allocations: 3.938 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.008815, allocations: 20.48 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.008815, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of Templates: time 0.002456/0.01127, allocations: 0.7595 MB / 0.8172 GB, free: 11.94 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.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.29604590497911]