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.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",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.01229/0.01229, allocations: 108.7 kB / 15.05 MB, free: 5.93 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.001268/0.001268, allocations: 186.8 kB / 15.95 MB, free: 5.895 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 1.903/1.903, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.466/2.466, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004945, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7152, allocations: 98.72 MB / 0.6835 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2542/0.9695, allocations: 124.3 MB / 0.8049 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.9698, allocations: 71.95 kB / 0.805 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004833/0.9747, allocations: 1.155 MB / 0.8061 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9747, allocations: 0 / 0.8061 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.9747, allocations: 0 / 0.8061 GB, free: 0.5625 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.0007836/0.9755, allocations: 415 kB / 0.8065 GB, free: 112 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.9756, allocations: 8.031 kB / 0.8065 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.9756, allocations: 30.56 kB / 0.8065 GB, free: 64 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.9757, allocations: 7.953 kB / 0.8065 GB, free: 56 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.9759, allocations: 186.9 kB / 0.8067 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.9759, allocations: 0 / 0.8067 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.976, allocations: 8 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.9761, allocations: 61.61 kB / 0.8068 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.9762, allocations: 4 kB / 0.8068 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.9762, allocations: 0 / 0.8068 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.9762, allocations: 4 kB / 0.8068 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.9763, allocations: 35.75 kB / 0.8068 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.9769, allocations: 300.8 kB / 0.8071 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.9771, allocations: 58.59 kB / 0.8072 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.9771, allocations: 0 / 0.8072 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.9774, allocations: 83.42 kB / 0.8072 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.9774, allocations: 0 / 0.8072 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003615/0.9777, allocations: 117.6 kB / 0.8073 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.9778, allocations: 55.39 kB / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.9779, allocations: 116.9 kB / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.978, allocations: 33.7 kB / 0.8075 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.978, allocations: 88.14 kB / 0.8076 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.9781, allocations: 27.64 kB / 0.8076 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.9781, allocations: 4 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9783, allocations: 322.8 kB / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.9783, allocations: 16 kB / 0.808 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/0.9785, allocations: 47.36 kB / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.9785, allocations: 24 kB / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9785, allocations: 384 / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003424/0.9789, allocations: 113.4 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.9789, allocations: 4 kB / 0.8082 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.979, allocations: 0 / 0.8082 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.979, allocations: 4 kB / 0.8082 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.9791, allocations: 4 kB / 0.8082 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.9792, allocations: 8.047 kB / 0.8082 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.9795, allocations: 27.97 kB / 0.8082 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.9795, allocations: 7.938 kB / 0.8082 GB, free: 14.15 MB / 0.6355 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,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * 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 0.0001545/0.9797, allocations: 119.3 kB / 0.8083 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.9797, allocations: 7.906 kB / 0.8083 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.9798, allocations: 12.38 kB / 0.8083 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.9798, allocations: 4 kB / 0.8083 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9798, allocations: 0 / 0.8083 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.9798, allocations: 11.94 kB / 0.8084 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.9801, allocations: 185.6 kB / 0.8085 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.9802, allocations: 7.984 kB / 0.8085 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.9802, allocations: 0 / 0.8085 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.9802, allocations: 0 / 0.8085 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.9803, allocations: 4 kB / 0.8085 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.9803, allocations: 4 kB / 0.8085 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.9803, allocations: 0 / 0.8085 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.9806, allocations: 128.9 kB / 0.8087 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.9807, allocations: 85.02 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.9808, allocations: 3.984 kB / 0.8088 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.9811, allocations: 23.97 kB / 0.8088 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.9812, allocations: 15.92 kB / 0.8088 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.9812, allocations: 7.984 kB / 0.8088 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001088/0.9813, allocations: 103.6 kB / 0.8089 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9814, allocations: 0 / 0.8089 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004262/0.9818, allocations: 16 kB / 0.8089 GB, free: 13.33 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,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * 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.0007548/0.9826, allocations: 0.6664 MB / 0.8096 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00028/0.9829, allocations: 59.92 kB / 0.8096 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9829, allocations: 4 kB / 0.8096 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.983, allocations: 35.92 kB / 0.8097 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.9835, allocations: 15.98 kB / 0.8097 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.9853, allocations: 1.04 MB / 0.8107 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.9857, allocations: 0.6926 MB / 0.8114 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.29e-05/0.9858, allocations: 8.547 kB / 0.8114 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.315e-05/0.9859, allocations: 27.42 kB / 0.8114 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.9859, allocations: 0 / 0.8114 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07485/1.061, allocations: 2.026 MB / 0.8134 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003519/1.061, allocations: 197.8 kB / 0.8136 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.418, allocations: 0 / 0.8136 GB, free: 8.512 MB / 0.6355 GB