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.Change.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.Change,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.01105/0.01105, allocations: 106.6 kB / 15.05 MB, free: 5.984 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.002427/0.002428, allocations: 184.9 kB / 15.94 MB, free: 5.941 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.043/2.043, allocations: 194.5 MB / 211.2 MB, free: 11.1 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.239/2.239, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004663, allocations: 16 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.674/0.6745, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2227/0.8973, allocations: 124.7 MB / 0.8052 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.8977, allocations: 67.97 kB / 0.8053 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003929/0.9016, allocations: 0.9555 MB / 0.8062 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9017, allocations: 0 / 0.8062 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.9017, allocations: 0 / 0.8062 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006981/0.9024, allocations: 387.2 kB / 0.8066 GB, free: 140 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.9025, allocations: 8.031 kB / 0.8066 GB, free: 132 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.9025, allocations: 30.56 kB / 0.8066 GB, free: 92 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.9026, allocations: 11.86 kB / 0.8066 GB, free: 80 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.9028, allocations: 167 kB / 0.8068 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9028, allocations: 12 kB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.9028, allocations: 7.984 kB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.9031, allocations: 61.67 kB / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.9032, allocations: 0 / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.9032, allocations: 0 / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.9032, allocations: 4 kB / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.9035, allocations: 71.8 kB / 0.807 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.9042, allocations: 312.7 kB / 0.8073 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.9049, allocations: 122.5 kB / 0.8074 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.905, allocations: 3.938 kB / 0.8074 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/0.9053, allocations: 79.5 kB / 0.8075 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.394e-06/0.9053, allocations: 4 kB / 0.8075 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0007199/0.9061, allocations: 149.5 kB / 0.8076 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.9061, allocations: 59.41 kB / 0.8077 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.9063, allocations: 109.1 kB / 0.8078 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.9063, allocations: 33.7 kB / 0.8078 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.9064, allocations: 88.12 kB / 0.8079 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.9064, allocations: 15.81 kB / 0.8079 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.9064, allocations: 0 / 0.8079 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9066, allocations: 318.8 kB / 0.8082 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.9068, allocations: 35.97 kB / 0.8082 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.907, allocations: 55.41 kB / 0.8083 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.9072, allocations: 39.98 kB / 0.8083 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.9072, allocations: 0 / 0.8083 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004668/0.9077, allocations: 125.4 kB / 0.8084 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.9077, allocations: 8.094 kB / 0.8084 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9077, allocations: 0 / 0.8084 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.9078, allocations: 4 kB / 0.8084 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.9079, allocations: 19.94 kB / 0.8085 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.9079, allocations: 0 / 0.8085 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.9081, allocations: 19.98 kB / 0.8085 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.9081, allocations: 4 kB / 0.8085 GB, free: 14 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: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001224/0.9083, allocations: 128.2 kB / 0.8086 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.9083, allocations: 7.906 kB / 0.8086 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.9084, allocations: 8.375 kB / 0.8086 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.9084, allocations: 3.984 kB / 0.8086 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.9084, allocations: 3.953 kB / 0.8086 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9084, allocations: 0 / 0.8086 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.9091, allocations: 370.5 kB / 0.809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.9091, allocations: 4.062 kB / 0.809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.9093, allocations: 19.92 kB / 0.809 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.9093, allocations: 0 / 0.809 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.9093, allocations: 11.89 kB / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9093, allocations: 0 / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9093, allocations: 4 kB / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.9098, allocations: 203.4 kB / 0.8092 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.9099, allocations: 81.11 kB / 0.8093 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.9099, allocations: 4 kB / 0.8093 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.9101, allocations: 19.94 kB / 0.8093 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.9102, allocations: 3.984 kB / 0.8093 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.9102, allocations: 8 kB / 0.8093 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.242e-05/0.9103, allocations: 91.27 kB / 0.8094 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9103, allocations: 0 / 0.8094 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003141/0.9107, allocations: 12 kB / 0.8094 GB, free: 12.94 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.000798/0.9115, allocations: 0.7538 MB / 0.8102 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004451/0.9119, allocations: 79.89 kB / 0.8102 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.912, allocations: 0 / 0.8102 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.9122, allocations: 44.16 kB / 0.8103 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.9125, allocations: 15.94 kB / 0.8103 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.9142, allocations: 1.005 MB / 0.8113 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.9145, allocations: 0.6887 MB / 0.812 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.938e-05/0.9146, allocations: 7.938 kB / 0.812 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.9146, allocations: 31.36 kB / 0.812 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.9146, allocations: 0 / 0.812 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.9343, allocations: 1.622 MB / 0.8136 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/0.9347, allocations: 185.7 kB / 0.8138 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.378, allocations: 0 / 0.8138 GB, free: 8.457 MB / 0.6355 GB