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.0132/0.0132, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001255/0.001254, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.82/3.82, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.237/4.237, allocations: 472.3 MB / 0.9017 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006669/0.0006671, allocations: 15.94 kB / 1.008 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7029, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001841/0.7048, allocations: 1.125 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004549/0.7053, allocations: 140.7 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.7054, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.7054, allocations: 1.281 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.7055, allocations: 3.938 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.7057, allocations: 22.55 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.7058, allocations: 37.56 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.7059, allocations: 9.859 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.706, allocations: 17.97 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.7061, allocations: 15.73 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.7061, allocations: 1.906 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.7061, allocations: 3.812 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.7061, allocations: 9.656 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.7062, allocations: 32.33 kB / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.7063, allocations: 26.2 kB / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7063, allocations: 0 / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7063, allocations: 0 / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7064, allocations: 0 / 1.106 GB, free: 212.1 MB / 0.7292 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.0008167/0.7072, allocations: 388 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7072, allocations: 14.06 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.7073, allocations: 38 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.7073, allocations: 4.828 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.7074, allocations: 173.7 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.7075, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.7075, allocations: 7 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.7078, allocations: 65.81 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7078, allocations: 3.5 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.7078, allocations: 1.312 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7078, allocations: 0.75 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.7082, allocations: 53.27 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.7089, allocations: 310.6 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.7092, allocations: 58.55 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.7094, allocations: 32.81 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.7095, allocations: 0 / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.7095, allocations: 36.02 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.7095, allocations: 0 / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005866/0.7101, allocations: 116.4 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.7101, allocations: 51.41 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.7103, allocations: 118.8 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.7103, allocations: 32.7 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.7103, allocations: 89.39 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.7104, allocations: 11.42 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/0.7104, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.905e-05/0.7105, allocations: 313.5 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.7106, allocations: 30.11 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.7108, allocations: 28.44 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.711, allocations: 27.75 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.711, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003677/0.7114, allocations: 90.33 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7114, allocations: 5.062 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7114, allocations: 1.141 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.7114, allocations: 8.953 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.7116, allocations: 11.86 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7116, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.7118, allocations: 22.2 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.7118, allocations: 1.5 kB / 1.108 GB, free: 210.3 MB / 0.7292 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 8.035e-05/0.7119, allocations: 116 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.712, allocations: 0 / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.7124, allocations: 101.4 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7124, allocations: 4.219 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.7124, allocations: 3.953 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7124, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.7126, allocations: 162.1 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7126, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.7127, allocations: 15.31 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7128, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.7128, allocations: 5.219 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7128, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7128, allocations: 0.9375 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.7132, allocations: 186.7 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.7132, allocations: 82.45 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.7133, allocations: 2.953 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.7135, allocations: 22.45 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.7136, allocations: 6.891 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.7136, allocations: 9.469 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.7137, allocations: 100.6 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7137, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003038/0.714, allocations: 9.25 kB / 1.108 GB, free: 209.6 MB / 0.7292 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.0006622/0.7147, allocations: 0.7107 MB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.7151, allocations: 62.52 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7151, allocations: 0 / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.7153, allocations: 31.11 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.7157, allocations: 14.94 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.717, allocations: 490.1 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.7172, allocations: 0.6841 MB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.79e-05/0.7172, allocations: 3.328 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.7173, allocations: 13.66 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/0.7173, allocations: 0 / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.7373, allocations: 1.435 MB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.7376, allocations: 209.9 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/3.509, allocations: 3 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB