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.0009973/0.0009973, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001094/0.001094, allocations: 181 kB / 24.09 MB, free: 420 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 0.983/0.983, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.875/1.875, allocations: 377.9 MB / 0.6239 GB, free: 8.426 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.645e-06/2.645e-06, allocations: 0 / 0.8119 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.861e-05, allocations: 2.312 kB / 0.8119 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001357/0.001375, allocations: 0.7149 MB / 0.8126 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.002413, allocations: 0.8911 MB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.002473, allocations: 3.938 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.002507, allocations: 4.594 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.002617, allocations: 20.38 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.002831, allocations: 25.02 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.002925, allocations: 63.78 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003034, allocations: 11.98 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.003238, allocations: 44.5 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.003298, allocations: 26.31 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.003318, allocations: 4 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.003372, allocations: 11.98 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.003388, allocations: 4 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.00341, allocations: 15.94 kB / 0.8137 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003532, allocations: 51.81 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003534, allocations: 0 / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.804e-06/0.003535, allocations: 1.344 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.00354, allocations: 0 / 0.8138 GB, free: 15.62 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.0004234/0.003963, allocations: 388.4 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.004013, allocations: 9.594 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.004144, allocations: 16.89 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.004284, allocations: 148.3 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.004303, allocations: 4.906 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.004312, allocations: 384 / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.004416, allocations: 63.47 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.004424, allocations: 0.7188 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.004431, allocations: 1.562 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.004437, allocations: 384 / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.004461, allocations: 11.94 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.004752, allocations: 264.8 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.004893, allocations: 52.41 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.004912, allocations: 19.83 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.00493, allocations: 1.156 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.004957, allocations: 41.33 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.004959, allocations: 0 / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001379/0.005097, allocations: 46.59 kB / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.005127, allocations: 51.41 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.005224, allocations: 186.8 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.005242, allocations: 29.7 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.005305, allocations: 138.8 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.005323, allocations: 12.92 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.005356, allocations: 27.36 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.005499, allocations: 496.1 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.005513, allocations: 5.094 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.005554, allocations: 57.17 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.005585, allocations: 17.06 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005587, allocations: 0 / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.568e-05/0.005653, allocations: 49.64 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.005668, allocations: 14.59 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005673, allocations: 1.406 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.005687, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.696e-05/0.005724, allocations: 7.984 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.005727, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.005753, allocations: 6.938 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.005758, allocations: 0 / 0.8159 GB, free: 13.29 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 8.632e-05/0.005845, allocations: 160.5 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.005862, allocations: 11.95 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.005892, allocations: 11.92 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.005893, allocations: 0 / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.005896, allocations: 0 / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.005899, allocations: 0.5 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.006007, allocations: 111.2 kB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006008, allocations: 0 / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.006025, allocations: 8 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006027, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.006032, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-07/0.006032, allocations: 5.688 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.006035, allocations: 3.938 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.006137, allocations: 195.9 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.006145, allocations: 3.953 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.006157, allocations: 4 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.006187, allocations: 0.9062 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.00622, allocations: 15.86 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.006223, allocations: 4.828 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.006266, allocations: 135.2 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006266, allocations: 0.8438 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001295/0.006396, allocations: 8 kB / 0.8165 GB, free: 12.57 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 7.259e-05/0.006468, allocations: 100.5 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.006534, allocations: 19.67 kB / 0.8166 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.71e-07/0.006535, allocations: 0.8438 kB / 0.8166 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.006553, allocations: 19.62 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.006715, allocations: 10.69 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.007078, allocations: 158.4 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.48e-05/0.007113, allocations: 63.36 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.007138, allocations: 10.73 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.007191, allocations: 78.19 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.007192, allocations: 0 / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of Templates: time 0.002187/0.009379, allocations: 0.8122 MB / 0.8178 GB, free: 11.27 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: 4.991797147318721]