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.Tan.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01094/0.01094, allocations: 106.7 kB / 15.05 MB, free: 5.934 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.001205/0.001205, allocations: 182.8 kB / 15.94 MB, free: 5.898 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.981/1.981, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.257/2.257, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006391/0.0006392, allocations: 12 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.6406, allocations: 98.72 MB / 0.6835 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.859, allocations: 124.3 MB / 0.8048 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.8593, allocations: 71.95 kB / 0.8049 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002418/0.8618, allocations: 0.67 MB / 0.8056 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8618, allocations: 0 / 0.8056 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.8618, allocations: 4 kB / 0.8056 GB, free: 1.258 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004827/0.8623, allocations: 331.4 kB / 0.8059 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.8624, allocations: 8.031 kB / 0.8059 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.8624, allocations: 38.56 kB / 0.8059 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.8624, allocations: 0 / 0.8059 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.8626, allocations: 174.9 kB / 0.8061 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.8626, allocations: 0 / 0.8061 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.8626, allocations: 8 kB / 0.8061 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.8629, allocations: 53.67 kB / 0.8062 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.8629, allocations: 3.938 kB / 0.8062 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.8629, allocations: 7.938 kB / 0.8062 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.8629, allocations: 3.984 kB / 0.8062 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.8632, allocations: 43.97 kB / 0.8062 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.8636, allocations: 252.9 kB / 0.8065 GB, free: 204 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.8638, allocations: 42.62 kB / 0.8065 GB, free: 152 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.8639, allocations: 4 kB / 0.8065 GB, free: 148 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.8639, allocations: 34.5 kB / 0.8065 GB, free: 104 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.8639, allocations: 0 / 0.8065 GB, free: 104 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005465/0.8645, allocations: 97.64 kB / 0.8066 GB, free: 0 / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.8645, allocations: 51.41 kB / 0.8067 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.8646, allocations: 101 kB / 0.8068 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.8646, allocations: 25.7 kB / 0.8068 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.8647, allocations: 84.12 kB / 0.8069 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.8647, allocations: 3.906 kB / 0.8069 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.8647, allocations: 4.125 kB / 0.8069 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.8649, allocations: 314.8 kB / 0.8072 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.865, allocations: 19.98 kB / 0.8072 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.8652, allocations: 27.91 kB / 0.8072 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.8653, allocations: 27.98 kB / 0.8073 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8653, allocations: 0 / 0.8073 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003365/0.8657, allocations: 73.67 kB / 0.8073 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.8657, allocations: 7.984 kB / 0.8073 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8657, allocations: 4 kB / 0.8073 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.8658, allocations: 0 / 0.8073 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.8659, allocations: 8 kB / 0.8073 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8659, allocations: 0 / 0.8073 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.866, allocations: 7.984 kB / 0.8074 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.8661, allocations: 11.94 kB / 0.8074 GB, free: 15.2 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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 8.519e-05/0.8662, allocations: 113.9 kB / 0.8075 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.8662, allocations: 3.906 kB / 0.8075 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.8666, allocations: 88.7 kB / 0.8076 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8666, allocations: 32 / 0.8076 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.8666, allocations: 8 kB / 0.8076 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8666, allocations: 0 / 0.8076 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.8668, allocations: 157.6 kB / 0.8077 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8668, allocations: 0 / 0.8077 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.867, allocations: 15.92 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.867, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.867, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.867, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.867, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.8674, allocations: 179.4 kB / 0.8079 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.8675, allocations: 77.11 kB / 0.808 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.8675, allocations: 0 / 0.808 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.8676, allocations: 20.02 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.8677, allocations: 0 / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.8677, allocations: 0 / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.8677, allocations: 83.27 kB / 0.8081 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8678, allocations: 0 / 0.8081 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002849/0.8681, allocations: 4 kB / 0.8081 GB, free: 14.36 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.0006935/0.8688, allocations: 0.7085 MB / 0.8088 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.8691, allocations: 47.94 kB / 0.8088 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8691, allocations: 0 / 0.8088 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.8693, allocations: 27.97 kB / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.8695, allocations: 12.06 kB / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.87, allocations: 142.2 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.8703, allocations: 0.677 MB / 0.8097 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.384e-05/0.8704, allocations: 4 kB / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.8704, allocations: 11.44 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.8704, allocations: 0 / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.8926, allocations: 0.9907 MB / 0.8106 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/0.8929, allocations: 190.1 kB / 0.8108 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.279, allocations: 0 / 0.8108 GB, free: 11.51 MB / 0.6355 GB