Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00951/0.009516, allocations: 108.2 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.001164/0.001163, allocations: 184.4 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 2.043/2.043, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.295/2.295, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004771, allocations: 20 kB / 0.587 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5402/0.5407, allocations: 98.71 MB / 0.6834 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001373/0.5422, allocations: 1.114 MB / 0.6844 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.5425, allocations: 115.7 kB / 0.6846 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.5425, allocations: 0 / 0.6846 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.5425, allocations: 5.844 kB / 0.6846 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.5426, allocations: 10.69 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 7.904e-05/0.5427, allocations: 8.781 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.5428, allocations: 22.8 kB / 0.6846 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.5429, allocations: 10.34 kB / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.543, allocations: 16.27 kB / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.543, allocations: 22.25 kB / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.5431, allocations: 2.344 kB / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.5431, allocations: 2.5 kB / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.5431, allocations: 6.156 kB / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.5431, allocations: 32.33 kB / 0.6847 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.63e-05/0.5432, allocations: 26.17 kB / 0.6847 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.526e-06/0.5432, allocations: 0 / 0.6847 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.959e-06/0.5432, allocations: 0 / 0.6847 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.204e-06/0.5433, allocations: 0 / 0.6847 GB, free: 15.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004285/0.5437, allocations: 369.3 kB / 0.6851 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.5437, allocations: 13 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.5438, allocations: 6.609 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.898e-05/0.5439, allocations: 170.9 kB / 0.6853 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5439, allocations: 5.031 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.5439, allocations: 1.344 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.5442, allocations: 78.34 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5442, allocations: 0 / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.5443, allocations: 0.6094 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-06/0.5443, allocations: 9.359 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.5446, allocations: 90.39 kB / 0.6854 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.545, allocations: 265.2 kB / 0.6857 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.5452, allocations: 66.55 kB / 0.6857 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.5453, allocations: 4 kB / 0.6857 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.5453, allocations: 32.73 kB / 0.6858 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.127e-06/0.5453, allocations: 0 / 0.6858 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006544/0.546, allocations: 166.2 kB / 0.6859 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.546, allocations: 51.41 kB / 0.686 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.5461, allocations: 116 kB / 0.6861 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.5461, allocations: 25.7 kB / 0.6861 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.5462, allocations: 90.03 kB / 0.6862 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.5462, allocations: 10.64 kB / 0.6862 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-06/0.5462, allocations: 1.531 kB / 0.6862 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.5463, allocations: 317.5 kB / 0.6865 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.5465, allocations: 43.56 kB / 0.6866 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.5467, allocations: 45.53 kB / 0.6866 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.5468, allocations: 40.61 kB / 0.6866 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5469, allocations: 0 / 0.6866 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004209/0.5473, allocations: 121.9 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5473, allocations: 5.906 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5473, allocations: 0 / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5474, allocations: 4.656 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.5475, allocations: 20.81 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.806e-06/0.5475, allocations: 0 / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.5477, allocations: 25.67 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5477, allocations: 0 / 0.6868 GB, free: 14.18 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.35e-05/0.5478, allocations: 117.2 kB / 0.6869 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.5478, allocations: 1.438 kB / 0.6869 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.5483, allocations: 136.2 kB / 0.6871 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-06/0.5483, allocations: 1.469 kB / 0.6871 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5483, allocations: 0 / 0.6871 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-06/0.5483, allocations: 2.297 kB / 0.6871 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.5485, allocations: 165.4 kB / 0.6872 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-06/0.5485, allocations: 9.281 kB / 0.6872 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.5486, allocations: 27.25 kB / 0.6873 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5487, allocations: 1.781 kB / 0.6873 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-06/0.5487, allocations: 0 / 0.6873 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.5487, allocations: 1.188 kB / 0.6873 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.547e-06/0.5487, allocations: 0.6562 kB / 0.6873 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.5491, allocations: 217.6 kB / 0.6875 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.5492, allocations: 82.88 kB / 0.6875 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.5492, allocations: 1.594 kB / 0.6875 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.5494, allocations: 24.56 kB / 0.6876 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.5494, allocations: 9.203 kB / 0.6876 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-06/0.5494, allocations: 0 / 0.6876 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.5495, allocations: 87.22 kB / 0.6877 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.24e-07/0.5495, allocations: 0 / 0.6877 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003044/0.5498, allocations: 6.188 kB / 0.6877 GB, free: 13.44 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: 0 () * Number of discrete states: 0 () * 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 0.0001166/0.5499, allocations: 106.3 kB / 0.6878 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004239/0.5504, allocations: 89.61 kB / 0.6879 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.536e-06/0.5504, allocations: 1.031 kB / 0.6879 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.5506, allocations: 47.86 kB / 0.6879 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.5509, allocations: 15.97 kB / 0.6879 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.5512, allocations: 131 kB / 0.688 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.5514, allocations: 0.6838 MB / 0.6887 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.5514, allocations: 2.078 kB / 0.6887 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.5514, allocations: 12.94 kB / 0.6887 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/0.5515, allocations: 0 / 0.6887 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.002958/0.5544, allocations: 0.5163 MB / 0.6892 GB, free: 12.43 MB / 0.5261 GB