Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009262/0.009267, allocations: 106.9 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001133/0.001133, allocations: 177.9 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.971/1.971, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.493/2.493, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008771/0.0008774, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6101/0.611, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001449/0.6125, allocations: 1.131 MB / 0.6844 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003847/0.6129, allocations: 153.9 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.613, allocations: 1.25 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.613, allocations: 5.391 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.662e-05/0.6131, allocations: 11.05 kB / 0.6846 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.6133, allocations: 18.73 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.6134, allocations: 37.06 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.6135, allocations: 22.33 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.6136, allocations: 20.16 kB / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.6137, allocations: 24.17 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.6137, allocations: 1.438 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.6137, allocations: 2.656 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.6137, allocations: 6.562 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.6138, allocations: 33.77 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.171e-05/0.6139, allocations: 40.53 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.656e-06/0.6139, allocations: 4 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.659e-06/0.6139, allocations: 0.9688 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.6139, allocations: 0 / 0.6848 GB, free: 15.72 MB / 0.5261 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.0003912/0.6143, allocations: 361.5 kB / 0.6852 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6144, allocations: 9.469 kB / 0.6852 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.6144, allocations: 6.781 kB / 0.6852 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.6147, allocations: 201.8 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.6147, allocations: 9 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.6147, allocations: 3.406 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.6149, allocations: 57.55 kB / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.212e-06/0.6149, allocations: 0 / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.6149, allocations: 3.984 kB / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.615, allocations: 5 kB / 0.6854 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.6151, allocations: 37.08 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.6156, allocations: 299.6 kB / 0.6858 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.6159, allocations: 84.92 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.6159, allocations: 1.172 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.616, allocations: 35.78 kB / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.233e-06/0.616, allocations: 4 kB / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003099/0.6163, allocations: 84.92 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.6163, allocations: 51.97 kB / 0.686 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.6164, allocations: 127 kB / 0.6861 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.6165, allocations: 26.8 kB / 0.6862 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.6165, allocations: 89.5 kB / 0.6862 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.6166, allocations: 14.19 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-06/0.6166, allocations: 0 / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.6166, allocations: 314.8 kB / 0.6866 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.6167, allocations: 15.77 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.6168, allocations: 32.75 kB / 0.6866 GB, free: 14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.066e-05/0.6169, allocations: 18.81 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.701e-06/0.6169, allocations: 1.125 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001929/0.6171, allocations: 73.89 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6172, allocations: 6.531 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6172, allocations: 0.5625 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6172, allocations: 1.219 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.6173, allocations: 7.203 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.817e-06/0.6173, allocations: 3.953 kB / 0.6867 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.6174, allocations: 15.75 kB / 0.6867 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.6174, allocations: 1.031 kB / 0.6867 GB, free: 13.94 MB / 0.5261 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 ($PRE.shaT.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.191e-05/0.6175, allocations: 114.6 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.6176, allocations: 6.891 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.6176, allocations: 9.844 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-06/0.6176, allocations: 2.172 kB / 0.6869 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.534e-06/0.6176, allocations: 0 / 0.6869 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.48e-06/0.6176, allocations: 7.953 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.6178, allocations: 175 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-06/0.6178, allocations: 0.6094 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.6179, allocations: 6.859 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.6179, allocations: 1.25 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.6179, allocations: 4.594 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.898e-06/0.6179, allocations: 0 / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.281e-06/0.618, allocations: 6.438 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.6182, allocations: 166.9 kB / 0.6872 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.6182, allocations: 82.98 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.6182, allocations: 10.09 kB / 0.6873 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6184, allocations: 11.12 kB / 0.6873 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.6184, allocations: 7.891 kB / 0.6873 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.6185, allocations: 2.25 kB / 0.6873 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.6185, allocations: 96.81 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.44e-07/0.6185, allocations: 0 / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003036/0.6188, allocations: 11.75 kB / 0.6874 GB, free: 13.24 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.402e-05/0.6189, allocations: 106.4 kB / 0.6875 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.6192, allocations: 40.77 kB / 0.6876 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.13e-06/0.6192, allocations: 4 kB / 0.6876 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.6193, allocations: 18.67 kB / 0.6876 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.6195, allocations: 5.125 kB / 0.6876 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.6199, allocations: 182.1 kB / 0.6878 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.6201, allocations: 0.6878 MB / 0.6884 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.129e-05/0.6201, allocations: 9.016 kB / 0.6884 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.6202, allocations: 10.66 kB / 0.6884 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of SimCode: time 1.288e-06/0.6202, allocations: 0 / 0.6884 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.003545/0.6238, allocations: 0.6669 MB / 0.6891 GB, free: 12.2 MB / 0.5261 GB