Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009757/0.0009757, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001033/0.001033, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9683/0.9683, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.837/1.837, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 0.787 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.56e-05, allocations: 2.312 kB / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00146/0.001486, allocations: 0.7085 MB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.002435, allocations: 0.8983 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.002491, allocations: 1.188 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.546e-05/0.002527, allocations: 3.938 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.00264, allocations: 20.78 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.002868, allocations: 23.92 kB / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.002955, allocations: 63.72 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.003076, allocations: 12.55 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.00325, allocations: 40.59 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.003325, allocations: 20.88 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.003349, allocations: 4 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-05/0.003399, allocations: 15.98 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.003417, allocations: 12.59 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.003449, allocations: 19.92 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.00359, allocations: 41.08 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003592, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003593, allocations: 3.938 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.003597, allocations: 1.594 kB / 0.7889 GB, free: 10.68 MB / 0.7448 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.0004224/0.004019, allocations: 392.4 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.004059, allocations: 11.97 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.004187, allocations: 24.31 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.004343, allocations: 140.5 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.00436, allocations: 4.375 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.004374, allocations: 4.375 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.004483, allocations: 58.95 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.004494, allocations: 192 / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.004505, allocations: 4.359 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.004515, allocations: 384 / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.00455, allocations: 19.88 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.004866, allocations: 284.4 kB / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.005039, allocations: 60.69 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.005059, allocations: 7.688 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.005077, allocations: 9.281 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.005099, allocations: 37.33 kB / 0.7899 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.0051, allocations: 0 / 0.7899 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001447/0.005244, allocations: 49.77 kB / 0.7899 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.005271, allocations: 56.03 kB / 0.79 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.005354, allocations: 178.7 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.005368, allocations: 29.7 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.005424, allocations: 143.8 kB / 0.7903 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.005441, allocations: 11.89 kB / 0.7903 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.005472, allocations: 23.38 kB / 0.7904 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.005582, allocations: 497 kB / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.005603, allocations: 4 kB / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.005644, allocations: 62.3 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.005676, allocations: 19.67 kB / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005678, allocations: 0 / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.505e-05/0.005743, allocations: 53.58 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.005756, allocations: 4.562 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.00576, allocations: 0.9375 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.005777, allocations: 0 / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.491e-05/0.005812, allocations: 4 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.005817, allocations: 4.938 kB / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.005842, allocations: 11.98 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.005849, allocations: 5.062 kB / 0.791 GB, free: 8.297 MB / 0.7448 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.63e-05/0.005925, allocations: 152.6 kB / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.005943, allocations: 13.42 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.00597, allocations: 8 kB / 0.7912 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005972, allocations: 4 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.005976, allocations: 0 / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005979, allocations: 0.5312 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.006083, allocations: 128.6 kB / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.006083, allocations: 0.625 kB / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.006098, allocations: 4.531 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.0061, allocations: 0 / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.006109, allocations: 4.719 kB / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.00611, allocations: 0 / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006111, allocations: 4.906 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.006221, allocations: 195.9 kB / 0.7915 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.006232, allocations: 4.484 kB / 0.7915 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.00625, allocations: 11.94 kB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.006282, allocations: 5.375 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.006329, allocations: 7.984 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.006332, allocations: 3.984 kB / 0.7915 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.006379, allocations: 132 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006379, allocations: 0 / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001504/0.00653, allocations: 12.94 kB / 0.7917 GB, free: 7.559 MB / 0.7448 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 9.187e-05/0.006621, allocations: 103.6 kB / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.006737, allocations: 24.05 kB / 0.7918 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.00674, allocations: 4 kB / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.006766, allocations: 24.55 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.006965, allocations: 6.984 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.007459, allocations: 166 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.007502, allocations: 61.22 kB / 0.792 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.00753, allocations: 7.094 kB / 0.792 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.007564, allocations: 16.48 kB / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.007565, allocations: 0 / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.00234/0.009905, allocations: 0.7499 MB / 0.7928 GB, free: 6.383 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.256236516404897]