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.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.01108/0.01108, allocations: 107.8 kB / 15.05 MB, free: 5.93 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.001217/0.001217, allocations: 184.6 kB / 15.95 MB, free: 5.895 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.127/2.127, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.447/2.447, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004743, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6537, allocations: 98.71 MB / 0.6834 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.8781, allocations: 124.6 MB / 0.8051 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.8784, allocations: 75.95 kB / 0.8052 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004331/0.8827, allocations: 0.9516 MB / 0.8061 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8828, allocations: 0 / 0.8061 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.8828, allocations: 0 / 0.8061 GB, free: 0.5859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007671/0.8836, allocations: 379.2 kB / 0.8064 GB, free: 172 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.8836, allocations: 12.03 kB / 0.8065 GB, free: 160 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.8837, allocations: 34.5 kB / 0.8065 GB, free: 116 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.8838, allocations: 4 kB / 0.8065 GB, free: 112 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.8839, allocations: 174.9 kB / 0.8067 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.884, allocations: 8 kB / 0.8067 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.884, allocations: 4 kB / 0.8067 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.8843, allocations: 73.64 kB / 0.8067 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8843, allocations: 0 / 0.8067 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.8843, allocations: 0 / 0.8067 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.8843, allocations: 0 / 0.8067 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.8847, allocations: 63.89 kB / 0.8068 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.8854, allocations: 300.8 kB / 0.8071 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.8858, allocations: 58.53 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.8859, allocations: 0 / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.8859, allocations: 38.56 kB / 0.8072 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.8859, allocations: 4 kB / 0.8072 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0006151/0.8865, allocations: 113.6 kB / 0.8073 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.8866, allocations: 55.41 kB / 0.8073 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.8867, allocations: 108.9 kB / 0.8074 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.8868, allocations: 25.7 kB / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.8868, allocations: 88.14 kB / 0.8076 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.8869, allocations: 7.906 kB / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.8869, allocations: 0 / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.887, allocations: 314.8 kB / 0.8079 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.8872, allocations: 31.98 kB / 0.8079 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.8874, allocations: 27.92 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.8876, allocations: 27.97 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.8876, allocations: 0 / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003866/0.888, allocations: 89.56 kB / 0.808 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.888, allocations: 8 kB / 0.808 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.888, allocations: 0 / 0.808 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8881, allocations: 4 kB / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.8882, allocations: 11.98 kB / 0.8081 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.8882, allocations: 7.953 kB / 0.8081 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.8885, allocations: 27.92 kB / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.8885, allocations: 0 / 0.8081 GB, free: 14.3 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: 2 ($PRE.onOffController.y,onOffController.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 9.931e-05/0.8886, allocations: 105.8 kB / 0.8082 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.8886, allocations: 4 kB / 0.8082 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.8891, allocations: 101.5 kB / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8891, allocations: 0 / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8891, allocations: 0 / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.8891, allocations: 3.953 kB / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.8893, allocations: 173.5 kB / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.8894, allocations: 0 / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.8895, allocations: 15.98 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.8895, allocations: 0 / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.8895, allocations: 3.938 kB / 0.8085 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8895, allocations: 0 / 0.8085 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8896, allocations: 4 kB / 0.8085 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.89, allocations: 183.4 kB / 0.8087 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.89, allocations: 77.53 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.8901, allocations: 0 / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.8903, allocations: 23.97 kB / 0.8088 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.8904, allocations: 11.98 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.8904, allocations: 4 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.8905, allocations: 95.58 kB / 0.8089 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8905, allocations: 0 / 0.8089 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002785/0.8908, allocations: 7.906 kB / 0.8089 GB, free: 13.4 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.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 0.0007719/0.8916, allocations: 0.7202 MB / 0.8096 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.892, allocations: 59.95 kB / 0.8096 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.892, allocations: 0 / 0.8096 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.8922, allocations: 31.97 kB / 0.8097 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.8925, allocations: 8 kB / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.8937, allocations: 481.5 kB / 0.8101 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.894, allocations: 0.6848 MB / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.467e-05/0.8941, allocations: 4 kB / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.8941, allocations: 11.44 kB / 0.8108 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.8942, allocations: 0 / 0.8108 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.9182, allocations: 1.44 MB / 0.8122 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/0.9186, allocations: 194.9 kB / 0.8124 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.436, allocations: 0 / 0.8124 GB, free: 9.746 MB / 0.6355 GB