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.And3.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.And3,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.01109/0.01109, allocations: 106.3 kB / 15.06 MB, free: 5.949 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.001219/0.001219, allocations: 187.1 kB / 15.95 MB, free: 5.902 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.047/2.047, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.35/2.35, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 16 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.6993, allocations: 98.71 MB / 0.6834 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001713/0.7011, allocations: 1.11 MB / 0.6845 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.7016, allocations: 214.6 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.7017, allocations: 1.406 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.7017, allocations: 6 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.7018, allocations: 24 kB / 0.6848 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.702, allocations: 17.38 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.7021, allocations: 55.75 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.7022, allocations: 9.75 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.7023, allocations: 30.83 kB / 0.6849 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.7024, allocations: 27.55 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.7024, allocations: 3.812 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.7025, allocations: 2.5 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.7025, allocations: 18.45 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.7025, allocations: 36.08 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.7027, allocations: 47.59 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7027, allocations: 1.438 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7027, allocations: 0 / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7027, allocations: 0 / 0.685 GB, free: 15.75 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007139/0.7034, allocations: 400.4 kB / 0.6854 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7035, allocations: 8.625 kB / 0.6854 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.7035, allocations: 37.59 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.7036, allocations: 9.078 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.7037, allocations: 181.7 kB / 0.6856 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.7037, allocations: 7.547 kB / 0.6856 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.7038, allocations: 7.734 kB / 0.6856 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.704, allocations: 64.97 kB / 0.6857 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.704, allocations: 4.641 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.704, allocations: 0 / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.704, allocations: 1.5 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.7042, allocations: 34.47 kB / 0.6857 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.7047, allocations: 306.1 kB / 0.686 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.7048, allocations: 52.08 kB / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.7049, allocations: 5.375 kB / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.7051, allocations: 86.55 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.7051, allocations: 0 / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.000353/0.7055, allocations: 119.9 kB / 0.6863 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.7055, allocations: 53.95 kB / 0.6863 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.7057, allocations: 129.6 kB / 0.6864 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.7057, allocations: 27.83 kB / 0.6865 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.7057, allocations: 91.8 kB / 0.6866 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.7058, allocations: 20.42 kB / 0.6866 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.7058, allocations: 5.438 kB / 0.6866 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.7059, allocations: 319.4 kB / 0.6869 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.706, allocations: 18.52 kB / 0.6869 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.874e-05/0.7061, allocations: 64.33 kB / 0.687 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.303e-05/0.7061, allocations: 16.12 kB / 0.687 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7061, allocations: 0 / 0.687 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002172/0.7064, allocations: 108.1 kB / 0.6871 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7064, allocations: 7.766 kB / 0.6871 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7064, allocations: 1.031 kB / 0.6871 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.7064, allocations: 1.375 kB / 0.6871 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.7065, allocations: 11.38 kB / 0.6871 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.7066, allocations: 6.062 kB / 0.6871 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.7068, allocations: 21.67 kB / 0.6871 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.7068, allocations: 8.094 kB / 0.6871 GB, free: 13.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.091e-05/0.7069, allocations: 122.2 kB / 0.6873 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.7069, allocations: 12.83 kB / 0.6873 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.707, allocations: 9.469 kB / 0.6873 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.707, allocations: 2.094 kB / 0.6873 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.707, allocations: 0 / 0.6873 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.707, allocations: 8.203 kB / 0.6873 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.7072, allocations: 189.1 kB / 0.6875 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7072, allocations: 1.625 kB / 0.6875 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.7073, allocations: 2.062 kB / 0.6875 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7073, allocations: 1.562 kB / 0.6875 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.7073, allocations: 0.5156 kB / 0.6875 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.7073, allocations: 6.062 kB / 0.6875 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7073, allocations: 4 kB / 0.6875 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.7076, allocations: 125.5 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.7076, allocations: 88.7 kB / 0.6877 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.7076, allocations: 0.7969 kB / 0.6877 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.7078, allocations: 24.17 kB / 0.6877 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.708, allocations: 25.28 kB / 0.6877 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.708, allocations: 3.047 kB / 0.6877 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.736e-05/0.7081, allocations: 97.77 kB / 0.6878 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7081, allocations: 0 / 0.6878 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002745/0.7084, allocations: 16.03 kB / 0.6878 GB, free: 13.14 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000469/0.7088, allocations: 0.6692 MB / 0.6885 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.7091, allocations: 64.03 kB / 0.6886 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7091, allocations: 0 / 0.6886 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.7092, allocations: 35.97 kB / 0.6886 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.7095, allocations: 19.31 kB / 0.6886 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.7108, allocations: 1.032 MB / 0.6896 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.711, allocations: 0.7022 MB / 0.6903 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.802e-05/0.7111, allocations: 8.625 kB / 0.6903 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.7112, allocations: 30.12 kB / 0.6903 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/0.7112, allocations: 3.938 kB / 0.6903 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.7326, allocations: 2.022 MB / 0.6923 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.7329, allocations: 182.9 kB / 0.6925 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.11, allocations: 7.375 kB / 0.6925 GB, free: 10.38 MB / 0.5261 GB