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.0009994/0.0009994, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001041/0.001041, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9574/0.9574, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.905/1.905, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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_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 1.363e-06/1.363e-06, allocations: 0 / 0.8115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.702e-05, allocations: 6.312 kB / 0.8115 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001349/0.001366, allocations: 0.706 MB / 0.8122 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002434, allocations: 0.9029 MB / 0.8131 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.841e-05/0.002502, allocations: 1.375 kB / 0.8131 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.002543, allocations: 3.938 kB / 0.8131 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.002675, allocations: 21.34 kB / 0.8131 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.00293, allocations: 24.92 kB / 0.8131 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.003033, allocations: 59.8 kB / 0.8132 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.003143, allocations: 16.42 kB / 0.8132 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.003332, allocations: 49.17 kB / 0.8132 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.00339, allocations: 19.92 kB / 0.8132 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.003408, allocations: 4 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.003451, allocations: 9.594 kB / 0.8133 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.003472, allocations: 15.97 kB / 0.8133 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.003498, allocations: 11.94 kB / 0.8133 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.003647, allocations: 47.83 kB / 0.8133 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.00365, allocations: 0 / 0.8133 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003651, allocations: 1.031 kB / 0.8133 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.003656, allocations: 0 / 0.8133 GB, free: 14.76 MB / 0.7292 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.0004772/0.004134, allocations: 392.8 kB / 0.8137 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.004186, allocations: 8.031 kB / 0.8137 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.004325, allocations: 18.58 kB / 0.8137 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.004491, allocations: 136.4 kB / 0.8139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.004515, allocations: 4.375 kB / 0.8139 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.004528, allocations: 4.359 kB / 0.8139 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.00466, allocations: 64.47 kB / 0.8139 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.004669, allocations: 192 / 0.8139 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.004679, allocations: 384 / 0.8139 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.004689, allocations: 384 / 0.8139 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.969e-05/0.004728, allocations: 21.67 kB / 0.8139 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.005098, allocations: 287.7 kB / 0.8142 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.005274, allocations: 56.22 kB / 0.8143 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.005298, allocations: 15.83 kB / 0.8143 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.005313, allocations: 4 kB / 0.8143 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.005338, allocations: 38.98 kB / 0.8143 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.005339, allocations: 0 / 0.8143 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001719/0.005511, allocations: 53.56 kB / 0.8144 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.005554, allocations: 55.41 kB / 0.8144 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.005657, allocations: 180.5 kB / 0.8146 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.005673, allocations: 25.7 kB / 0.8146 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.005739, allocations: 138.8 kB / 0.8148 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.005758, allocations: 7.953 kB / 0.8148 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.005791, allocations: 27.36 kB / 0.8148 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.005927, allocations: 496.1 kB / 0.8153 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.005949, allocations: 7.984 kB / 0.8153 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.00599, allocations: 49.8 kB / 0.8153 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.006025, allocations: 19.62 kB / 0.8153 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.006028, allocations: 0.5312 kB / 0.8153 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.051e-05/0.006098, allocations: 59.23 kB / 0.8154 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.006113, allocations: 9.875 kB / 0.8154 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006117, allocations: 0 / 0.8154 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.006135, allocations: 0 / 0.8154 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.006172, allocations: 7.984 kB / 0.8154 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.006178, allocations: 0.5938 kB / 0.8154 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.006205, allocations: 8.438 kB / 0.8154 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.00621, allocations: 0.875 kB / 0.8154 GB, free: 12.4 MB / 0.7292 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 8.034e-05/0.006291, allocations: 160.6 kB / 0.8156 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.00631, allocations: 17.03 kB / 0.8156 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.006334, allocations: 8 kB / 0.8156 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.006336, allocations: 336 / 0.8156 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.00634, allocations: 9.312 kB / 0.8156 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006342, allocations: 0 / 0.8156 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.006443, allocations: 120.6 kB / 0.8157 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.006446, allocations: 3.984 kB / 0.8157 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.00647, allocations: 9.047 kB / 0.8157 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.006472, allocations: 0 / 0.8157 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.00648, allocations: 3.938 kB / 0.8157 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006481, allocations: 0.875 kB / 0.8157 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.006483, allocations: 7.922 kB / 0.8158 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.006596, allocations: 192.8 kB / 0.8159 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.006608, allocations: 7.953 kB / 0.8159 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.006625, allocations: 14.05 kB / 0.816 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.006657, allocations: 0 / 0.816 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.0067, allocations: 7.984 kB / 0.816 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.006703, allocations: 0 / 0.816 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.006753, allocations: 143.5 kB / 0.8161 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006753, allocations: 4 kB / 0.8161 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001431/0.006896, allocations: 4.5 kB / 0.8161 GB, free: 11.64 MB / 0.7292 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 7.454e-05/0.006971, allocations: 101.8 kB / 0.8162 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.007078, allocations: 23.67 kB / 0.8162 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007079, allocations: 0 / 0.8162 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.007101, allocations: 15.67 kB / 0.8162 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.007283, allocations: 12.36 kB / 0.8163 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.007765, allocations: 166.4 kB / 0.8164 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.007801, allocations: 59.34 kB / 0.8165 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.00783, allocations: 5.812 kB / 0.8165 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.007861, allocations: 17.34 kB / 0.8165 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of SimCode: time 1.031e-06/0.007862, allocations: 0 / 0.8165 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of Templates: time 0.002363/0.01023, allocations: 0.776 MB / 0.8173 GB, free: 10.44 MB / 0.7292 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.148076929152012]