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.Or.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.Or,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.01773/0.01773, allocations: 220.3 kB / 15.17 MB, free: 5.996 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.001716/0.001716, allocations: 178.9 kB / 16.06 MB, free: 5.875 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.69/3.69, allocations: 389 MB / 405.9 MB, free: 67.66 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.276/4.276, allocations: 472.3 MB / 0.9017 GB, free: 13.41 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004918, allocations: 12 kB / 1.008 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7017, allocations: 98.73 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00187/0.7037, allocations: 1.075 MB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0005539/0.7042, allocations: 199.5 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.7043, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.7044, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 9.351e-05/0.7045, allocations: 11.92 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.7046, allocations: 15.92 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.7048, allocations: 55.28 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.7049, allocations: 4 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.7049, allocations: 20.86 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.705, allocations: 19.91 kB / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.7051, allocations: 7.938 kB / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.937e-05/0.7051, allocations: 0 / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.7051, allocations: 11.92 kB / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.7052, allocations: 36.8 kB / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 8.77e-05/0.7053, allocations: 27.94 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7053, allocations: 0 / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7053, allocations: 0 / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7053, allocations: 0 / 1.106 GB, free: 182.3 MB / 0.6823 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.0006849/0.706, allocations: 374.7 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.7061, allocations: 8.781 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.7061, allocations: 34.5 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.7062, allocations: 10.31 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.7063, allocations: 179 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.7064, allocations: 0 / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.7064, allocations: 4 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.7066, allocations: 53.67 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.7066, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.7066, allocations: 1.031 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7066, allocations: 3.234 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.972e-05/0.7067, allocations: 27.92 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.7072, allocations: 281.3 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.7073, allocations: 42.56 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.7073, allocations: 22.3 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.7074, allocations: 0 / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.7076, allocations: 71.73 kB / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.7076, allocations: 0 / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002505/0.7079, allocations: 101.6 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.7079, allocations: 51.41 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.708, allocations: 113.8 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.708, allocations: 25.7 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.7081, allocations: 92.05 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.7081, allocations: 19.08 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.7081, allocations: 0 / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.7082, allocations: 314.8 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.7082, allocations: 16.73 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.7083, allocations: 42.45 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.7084, allocations: 11.25 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7084, allocations: 4 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000146/0.7085, allocations: 81.52 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.7086, allocations: 7.984 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7086, allocations: 0 / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7086, allocations: 6.75 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.7087, allocations: 4 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7087, allocations: 4.984 kB / 1.108 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.7088, allocations: 19.92 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.7088, allocations: 0 / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.066e-05/0.7089, allocations: 120.1 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.7089, allocations: 7.906 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.709, allocations: 12.36 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.709, allocations: 5.125 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.709, allocations: 0 / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.709, allocations: 4.766 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.7092, allocations: 169.7 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.7092, allocations: 10.8 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.285e-05/0.7092, allocations: 0.8438 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7092, allocations: 0 / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.7092, allocations: 0 / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7092, allocations: 1.125 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7093, allocations: 4 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.7094, allocations: 104.8 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.7095, allocations: 81.09 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.7095, allocations: 0 / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.7096, allocations: 19.98 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.7097, allocations: 9.016 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.7097, allocations: 2.375 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.7098, allocations: 96.03 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/0.7098, allocations: 0 / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002571/0.71, allocations: 16 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003483/0.7104, allocations: 0.6417 MB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.7106, allocations: 48.05 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7106, allocations: 1.844 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.761e-05/0.7106, allocations: 27.88 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.711, allocations: 17.8 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.7118, allocations: 0.4918 MB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.712, allocations: 0.6887 MB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.278e-05/0.712, allocations: 7.297 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.7121, allocations: 15.44 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.133e-06/0.7121, allocations: 0 / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.7355, allocations: 1.61 MB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.7358, allocations: 187.7 kB / 1.112 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/3.437, allocations: 1.828 kB / 1.112 GB, free: 175.8 MB / 0.6823 GB