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.Or3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.285/4.285, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.033e-05, allocations: 8 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.615, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.8918, allocations: 123.6 MB / 0.7496 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.8921, allocations: 71.95 kB / 0.7497 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004717/0.8969, allocations: 1.147 MB / 0.7508 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8969, allocations: 4 kB / 0.7508 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.8969, allocations: 0 / 0.7508 GB, free: 2.73 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006891/0.8976, allocations: 386.3 kB / 0.7512 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.8977, allocations: 12.03 kB / 0.7512 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.8977, allocations: 11.86 kB / 0.7512 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.8979, allocations: 182.8 kB / 0.7514 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.898, allocations: 0 / 0.7514 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.898, allocations: 4 kB / 0.7514 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001337/0.8981, allocations: 27.98 kB / 0.7514 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.8983, allocations: 53.69 kB / 0.7515 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.8983, allocations: 0 / 0.7515 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.8983, allocations: 0 / 0.7515 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.8983, allocations: 3.984 kB / 0.7515 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.8989, allocations: 285.3 kB / 0.7517 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.899, allocations: 50.5 kB / 0.7518 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.8991, allocations: 24.84 kB / 0.7518 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.8991, allocations: 0 / 0.7518 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.8994, allocations: 87.33 kB / 0.7519 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.8994, allocations: 0 / 0.7519 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002702/0.8996, allocations: 81.62 kB / 0.752 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.8997, allocations: 63.34 kB / 0.752 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.8999, allocations: 116.9 kB / 0.7521 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.8999, allocations: 25.7 kB / 0.7522 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.9, allocations: 84.14 kB / 0.7522 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.9001, allocations: 19.88 kB / 0.7523 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.9001, allocations: 4 kB / 0.7523 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.9004, allocations: 322.8 kB / 0.7526 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.9005, allocations: 20 kB / 0.7526 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.9007, allocations: 43.42 kB / 0.7526 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.9008, allocations: 12 kB / 0.7526 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9009, allocations: 4 kB / 0.7526 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004082/0.9013, allocations: 93.47 kB / 0.7527 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.9014, allocations: 7.984 kB / 0.7527 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.9014, allocations: 3.984 kB / 0.7527 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.9014, allocations: 4.188 kB / 0.7527 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.9016, allocations: 4 kB / 0.7528 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.9016, allocations: 3.938 kB / 0.7528 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.902, allocations: 31.97 kB / 0.7528 GB, free: 500 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.902, allocations: 7.984 kB / 0.7528 GB, free: 492 kB / 0.6198 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,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete 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 0.0001653/0.9022, allocations: 116.9 kB / 0.7529 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003394/0.9026, allocations: 81.53 kB / 0.753 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.9026, allocations: 11.91 kB / 0.753 GB, free: 268 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/0.9027, allocations: 8.625 kB / 0.753 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.9027, allocations: 7.953 kB / 0.753 GB, free: 252 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.9028, allocations: 3.984 kB / 0.753 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.9028, allocations: 4 kB / 0.753 GB, free: 244 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.9032, allocations: 158.2 kB / 0.7532 GB, free: 48 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.9032, allocations: 4 kB / 0.7532 GB, free: 44 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.9032, allocations: 4 kB / 0.7532 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.9033, allocations: 0 / 0.7532 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.9033, allocations: 3.984 kB / 0.7532 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.9033, allocations: 0 / 0.7532 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9033, allocations: 0 / 0.7532 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.9038, allocations: 121 kB / 0.7533 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.9039, allocations: 89 kB / 0.7534 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.904, allocations: 0 / 0.7534 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.9044, allocations: 15.98 kB / 0.7534 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.9045, allocations: 19.97 kB / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.9046, allocations: 4 kB / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001585/0.9048, allocations: 99.64 kB / 0.7535 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.11e-07/0.9048, allocations: 4 kB / 0.7535 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006599/0.9055, allocations: 19.95 kB / 0.7535 GB, free: 15.63 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete 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.000899/0.9064, allocations: 0.6496 MB / 0.7542 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.9068, allocations: 51.94 kB / 0.7542 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.9068, allocations: 4.188 kB / 0.7542 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.907, allocations: 32 kB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.9076, allocations: 19.97 kB / 0.7543 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.9087, allocations: 149.7 kB / 0.7544 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.9092, allocations: 0.7041 MB / 0.7551 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.9094, allocations: 4.562 kB / 0.7551 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.9095, allocations: 27.42 kB / 0.7551 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.352e-06/0.9095, allocations: 0 / 0.7551 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/1.016, allocations: 1.701 MB / 0.7568 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003431/1.017, allocations: 147 kB / 0.7569 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/3.443, allocations: 3.938 kB / 0.7569 GB, free: 12.02 MB / 0.6355 GB