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.001011/0.001011, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001052/0.001052, allocations: 170.3 kB / 24.86 MB, free: 9.277 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.9199/0.9199, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.856/1.856, allocations: 359 MB / 0.6063 GB, free: 10.91 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.314e-06/2.314e-06, allocations: 0 / 0.7882 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.711e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001596/0.001623, allocations: 0.7183 MB / 0.789 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.002564, allocations: 0.8987 MB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.002611, allocations: 0.7812 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.002638, allocations: 7.938 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.00273, allocations: 17.11 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.002925, allocations: 23.86 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.219e-05/0.003007, allocations: 63.78 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.00312, allocations: 17.38 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.003287, allocations: 39.91 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.003341, allocations: 19.92 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.003356, allocations: 4.531 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.149e-05/0.003398, allocations: 13.08 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.003417, allocations: 11.94 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.003438, allocations: 15.98 kB / 0.7901 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003553, allocations: 49.64 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.003556, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003557, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003561, allocations: 0 / 0.7901 GB, free: 10.39 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.000352/0.003913, allocations: 388.4 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.003949, allocations: 8.75 kB / 0.7905 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.00408, allocations: 25.94 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.004212, allocations: 128.5 kB / 0.7906 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.004229, allocations: 4.375 kB / 0.7906 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.004236, allocations: 1.875 kB / 0.7906 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.185e-05/0.004328, allocations: 66.92 kB / 0.7907 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004334, allocations: 192 / 0.7907 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.004342, allocations: 4.359 kB / 0.7907 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.004346, allocations: 1.969 kB / 0.7907 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.019e-05/0.004376, allocations: 23.8 kB / 0.7907 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.004646, allocations: 260.4 kB / 0.791 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.004781, allocations: 60.69 kB / 0.791 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.004796, allocations: 11.75 kB / 0.791 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.004808, allocations: 0 / 0.791 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.004831, allocations: 39.92 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.004831, allocations: 0 / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000128/0.004959, allocations: 45.72 kB / 0.7911 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.004989, allocations: 51.41 kB / 0.7912 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.005066, allocations: 181.9 kB / 0.7913 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.00508, allocations: 29.7 kB / 0.7914 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.005133, allocations: 134.8 kB / 0.7915 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.005151, allocations: 20.48 kB / 0.7915 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.005182, allocations: 28.97 kB / 0.7916 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.005299, allocations: 0.4884 MB / 0.792 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.005318, allocations: 4 kB / 0.792 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.005352, allocations: 45.08 kB / 0.7921 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.005385, allocations: 21.42 kB / 0.7921 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005386, allocations: 0 / 0.7921 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.333e-05/0.00545, allocations: 49.64 kB / 0.7921 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.005463, allocations: 7.938 kB / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005468, allocations: 4 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.005475, allocations: 0.5938 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.005521, allocations: 11.94 kB / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.005523, allocations: 0.9375 kB / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.005547, allocations: 4 kB / 0.7922 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.005552, allocations: 6.109 kB / 0.7922 GB, free: 8.062 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.386e-05/0.005626, allocations: 160.6 kB / 0.7923 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.005644, allocations: 7.953 kB / 0.7923 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.005667, allocations: 7.938 kB / 0.7923 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.005668, allocations: 0.5312 kB / 0.7923 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.00567, allocations: 0 / 0.7923 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005672, allocations: 4.656 kB / 0.7924 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.794e-05/0.00577, allocations: 109.2 kB / 0.7925 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.005771, allocations: 0.5312 kB / 0.7925 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.005792, allocations: 9.875 kB / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.005793, allocations: 0 / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.005798, allocations: 0 / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005799, allocations: 4 kB / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.005801, allocations: 4.469 kB / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.005914, allocations: 195.9 kB / 0.7927 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.005925, allocations: 5.266 kB / 0.7927 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.005937, allocations: 4 kB / 0.7927 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.276e-05/0.00597, allocations: 3.984 kB / 0.7927 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.006005, allocations: 17.08 kB / 0.7927 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.006009, allocations: 0 / 0.7927 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.006053, allocations: 135.2 kB / 0.7928 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006053, allocations: 1.375 kB / 0.7928 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001325/0.006185, allocations: 8 kB / 0.7928 GB, free: 7.348 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.448e-05/0.00628, allocations: 96.16 kB / 0.7929 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.672e-05/0.006356, allocations: 27.61 kB / 0.7929 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006358, allocations: 0.8438 kB / 0.7929 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.006375, allocations: 15.69 kB / 0.793 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.006556, allocations: 9.297 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.006961, allocations: 159.2 kB / 0.7931 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.006995, allocations: 55.36 kB / 0.7932 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.007026, allocations: 9.703 kB / 0.7932 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.007079, allocations: 79.08 kB / 0.7933 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/0.00708, allocations: 0 / 0.7933 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of Templates: time 0.002411/0.00949, allocations: 0.8383 MB / 0.7941 GB, free: 6.043 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.039878560230136]