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.0008032/0.0008032, allocations: 81.95 kB / 20.68 MB, free: 3.812 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.0009838/0.0009838, allocations: 181 kB / 24.09 MB, free: 416 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.991/0.991, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.77/1.77, allocations: 359 MB / 0.6055 GB, free: 10.88 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 1.853e-06/1.853e-06, allocations: 0 / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.942e-05, allocations: 6.25 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001216/0.001236, allocations: 0.7048 MB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008881/0.002124, allocations: 0.8983 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.002164, allocations: 0 / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.002191, allocations: 5 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.002275, allocations: 11.86 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.002449, allocations: 38.12 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.712e-05/0.002526, allocations: 59.78 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.002613, allocations: 8 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.002758, allocations: 43.89 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.002807, allocations: 19.92 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.002829, allocations: 5.938 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.002869, allocations: 8 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.002885, allocations: 15.91 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.002905, allocations: 16 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.653e-05/0.003002, allocations: 47.77 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003005, allocations: 5.547 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003005, allocations: 0 / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.003009, allocations: 0 / 0.7894 GB, free: 10.36 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.0003453/0.003354, allocations: 388.4 kB / 0.7897 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.003394, allocations: 13.78 kB / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.003492, allocations: 12.89 kB / 0.7897 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.003612, allocations: 140.5 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.003627, allocations: 384 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.003635, allocations: 5.469 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.003718, allocations: 58.94 kB / 0.7899 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.003723, allocations: 192 / 0.7899 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.00373, allocations: 10.23 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.003736, allocations: 4.375 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.00376, allocations: 7.938 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.004016, allocations: 268.3 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.004135, allocations: 61.56 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.00415, allocations: 11.77 kB / 0.7903 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.004165, allocations: 8.062 kB / 0.7903 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.004182, allocations: 33.39 kB / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.004183, allocations: 0 / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001081/0.004291, allocations: 46.34 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.004315, allocations: 55.41 kB / 0.7904 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.004387, allocations: 178.4 kB / 0.7906 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.0044, allocations: 29.69 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.004452, allocations: 144.5 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.004466, allocations: 7.891 kB / 0.7908 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.004495, allocations: 31.34 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.004605, allocations: 496.1 kB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.004615, allocations: 4.656 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.958e-05/0.004645, allocations: 49.06 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.004668, allocations: 16.61 kB / 0.7913 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00467, allocations: 4 kB / 0.7913 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.088e-05/0.00472, allocations: 58.73 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.004735, allocations: 9.656 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.004739, allocations: 0 / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.004746, allocations: 1.375 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.873e-05/0.004775, allocations: 7.984 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.004777, allocations: 0 / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.0048, allocations: 4.844 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.004804, allocations: 4 kB / 0.7914 GB, free: 8.035 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 6.227e-05/0.004866, allocations: 153.4 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.00488, allocations: 7.953 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.004901, allocations: 17.2 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.004904, allocations: 4 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.004905, allocations: 0 / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004907, allocations: 0.8438 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.467e-05/0.004992, allocations: 113.2 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.004992, allocations: 0 / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.005004, allocations: 5.094 kB / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.005005, allocations: 336 / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.005009, allocations: 0 / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.00501, allocations: 1.375 kB / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.005012, allocations: 3.938 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.642e-05/0.005098, allocations: 199.8 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.005106, allocations: 9.359 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.005117, allocations: 0 / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.005149, allocations: 4 kB / 0.7919 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.005182, allocations: 11.92 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.005184, allocations: 2.938 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.005226, allocations: 135.2 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005226, allocations: 0 / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001345/0.005361, allocations: 8 kB / 0.7921 GB, free: 7.324 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 6.156e-05/0.005423, allocations: 95.23 kB / 0.7922 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.005489, allocations: 31.59 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.00549, allocations: 0.5 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.691e-05/0.005507, allocations: 13.03 kB / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.005664, allocations: 8 kB / 0.7922 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.005995, allocations: 165.7 kB / 0.7924 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.314e-05/0.006028, allocations: 63.28 kB / 0.7924 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.006052, allocations: 3.438 kB / 0.7924 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.006104, allocations: 78.19 kB / 0.7925 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.006105, allocations: 0 / 0.7925 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.002121/0.008225, allocations: 0.8102 MB / 0.7933 GB, free: 6.023 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: 4.917062454856932]