Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 59.91 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002518/1.012, allocations: 0.7068 MB / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00124/1.013, allocations: 0.8468 MB / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/1.013, allocations: 0 / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/1.013, allocations: 7.922 kB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/1.013, allocations: 11.86 kB / 1.276 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/1.013, allocations: 19.98 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/1.014, allocations: 63.78 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/1.014, allocations: 19.94 kB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/1.014, allocations: 31.86 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/1.014, allocations: 23.84 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/1.014, allocations: 8 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/1.014, allocations: 7.938 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/1.014, allocations: 12 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/1.014, allocations: 23.86 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/1.014, allocations: 74.38 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.014, allocations: 0 / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.495e-06/1.014, allocations: 0 / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.014, allocations: 0 / 1.276 GB, free: 2.703 MB / 0.9669 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.0006002/1.015, allocations: 367.3 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.015, allocations: 12.03 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/1.015, allocations: 8.891 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/1.015, allocations: 192.2 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/1.015, allocations: 4.375 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/1.015, allocations: 4.375 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/1.015, allocations: 62.23 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.015, allocations: 192 / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.015, allocations: 3.938 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/1.016, allocations: 3.984 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/1.016, allocations: 27.98 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/1.016, allocations: 304.7 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/1.016, allocations: 66.53 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/1.017, allocations: 21 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/1.017, allocations: 0 / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.017, allocations: 38.5 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/1.017, allocations: 4 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000298/1.017, allocations: 73.62 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/1.017, allocations: 51.41 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/1.017, allocations: 125.8 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/1.017, allocations: 25.7 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/1.017, allocations: 96.09 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/1.017, allocations: 11.88 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/1.017, allocations: 17.72 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.017, allocations: 322.8 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/1.017, allocations: 20 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/1.018, allocations: 29.7 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/1.018, allocations: 28.78 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.018, allocations: 4 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001529/1.018, allocations: 65.62 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.018, allocations: 4 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.018, allocations: 4.031 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.018, allocations: 4 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/1.018, allocations: 7.938 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.018, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/1.018, allocations: 7.984 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/1.018, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 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 (shaT.hys.y,$PRE.shaT.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 0.0001231/1.018, allocations: 122.2 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/1.018, allocations: 4 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/1.018, allocations: 15.89 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.018, allocations: 4 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.018, allocations: 0 / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.018, allocations: 0 / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/1.018, allocations: 185.5 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.018, allocations: 0 / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/1.018, allocations: 4 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.018, allocations: 4 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/1.018, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.018, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.018, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/1.019, allocations: 163.8 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/1.019, allocations: 81.06 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/1.019, allocations: 7.984 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/1.019, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/1.019, allocations: 15.92 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/1.019, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.091e-05/1.019, allocations: 95.27 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.019, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002209/1.019, allocations: 8 kB / 1.278 GB, free: 15.7 MB / 0.9825 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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 0.0001269/1.019, allocations: 99.25 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001924/1.019, allocations: 31.97 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.019, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/1.02, allocations: 15.94 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/1.02, allocations: 21.48 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/1.02, allocations: 163.6 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/1.021, allocations: 0.6846 MB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.851e-05/1.021, allocations: 4 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/1.021, allocations: 19.42 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/1.021, allocations: 0 / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.00378/1.025, allocations: 0.7188 MB / 1.28 GB, free: 13.89 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.109280726872385]