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.MultiOr.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.MultiOr,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.01522/0.01522, allocations: 108.8 kB / 15.05 MB, free: 5.973 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.00178/0.00178, allocations: 184 kB / 15.94 MB, free: 5.934 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.004/2.004, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.283/2.283, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004839, allocations: 16 kB / 0.5871 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.6774, allocations: 98.71 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2238/0.9012, allocations: 124.6 MB / 0.8052 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.9015, allocations: 71.95 kB / 0.8052 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009276/0.9108, allocations: 2.135 MB / 0.8073 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9109, allocations: 0 / 0.8073 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.9109, allocations: 7.938 kB / 0.8073 GB, free: 15.3 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001094/0.912, allocations: 491.2 kB / 0.8078 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.9121, allocations: 8.031 kB / 0.8078 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.5e-05/0.9121, allocations: 42.55 kB / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.9122, allocations: 19.81 kB / 0.8079 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.9125, allocations: 222.9 kB / 0.8081 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.9126, allocations: 12 kB / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.9126, allocations: 19.98 kB / 0.8081 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.913, allocations: 152.8 kB / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9131, allocations: 0 / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.9131, allocations: 11.98 kB / 0.8083 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.9131, allocations: 7.938 kB / 0.8083 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.9134, allocations: 99.88 kB / 0.8084 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.915, allocations: 0.6059 MB / 0.809 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.9154, allocations: 211.6 kB / 0.8092 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.9154, allocations: 4 kB / 0.8092 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.9158, allocations: 133 kB / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.445e-06/0.9158, allocations: 0 / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0006138/0.9164, allocations: 213.4 kB / 0.8095 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.9165, allocations: 59.41 kB / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.9167, allocations: 165.2 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.9167, allocations: 29.7 kB / 0.8097 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.9168, allocations: 116.5 kB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.9169, allocations: 47.81 kB / 0.8099 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.9169, allocations: 7.938 kB / 0.8099 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.9171, allocations: 326.8 kB / 0.8102 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.9173, allocations: 47.97 kB / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.9175, allocations: 100.8 kB / 0.8103 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.9176, allocations: 46.39 kB / 0.8104 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9176, allocations: 0 / 0.8104 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004345/0.9181, allocations: 193.2 kB / 0.8106 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.9181, allocations: 5.562 kB / 0.8106 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.9181, allocations: 4 kB / 0.8106 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.9181, allocations: 0 / 0.8106 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.9183, allocations: 19.94 kB / 0.8106 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.9183, allocations: 7.984 kB / 0.8106 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.9187, allocations: 48.09 kB / 0.8107 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.9187, allocations: 8 kB / 0.8107 GB, free: 11.61 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001989/0.9189, allocations: 147.8 kB / 0.8108 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.919, allocations: 15.81 kB / 0.8108 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.123e-05/0.9191, allocations: 17.19 kB / 0.8108 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.9191, allocations: 7.984 kB / 0.8108 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9191, allocations: 4 kB / 0.8108 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.9191, allocations: 0 / 0.8108 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008976/0.92, allocations: 0.4933 MB / 0.8113 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.92, allocations: 0 / 0.8113 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.9201, allocations: 11.94 kB / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.9201, allocations: 3.938 kB / 0.8113 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.9201, allocations: 4 kB / 0.8113 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.9201, allocations: 0 / 0.8113 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9202, allocations: 0 / 0.8113 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.9206, allocations: 273.7 kB / 0.8116 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.9207, allocations: 92.86 kB / 0.8117 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.9207, allocations: 8 kB / 0.8117 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.9211, allocations: 39.95 kB / 0.8117 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.9212, allocations: 35.89 kB / 0.8118 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.9213, allocations: 4 kB / 0.8118 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001294/0.9214, allocations: 123.2 kB / 0.8119 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9214, allocations: 0 / 0.8119 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003776/0.9218, allocations: 35.95 kB / 0.8119 GB, free: 10.21 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: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007943/0.9226, allocations: 0.816 MB / 0.8127 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.9231, allocations: 139.8 kB / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.9231, allocations: 0 / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.9233, allocations: 75.91 kB / 0.8129 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.9238, allocations: 45.14 kB / 0.813 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.9264, allocations: 1.889 MB / 0.8148 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.9268, allocations: 0.7245 MB / 0.8155 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.927, allocations: 33.52 kB / 0.8156 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.9271, allocations: 55.42 kB / 0.8156 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/0.9272, allocations: 0 / 0.8156 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.9523, allocations: 3.659 MB / 0.8192 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/0.9527, allocations: 185.9 kB / 0.8194 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.288, allocations: 7.453 kB / 0.8194 GB, free: 2.527 MB / 0.6355 GB