Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.276/2.276, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 186.8 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.369/2.369, allocations: 205.4 MB / 0.5764 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 101.7 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006625/0.0006625, allocations: 16.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2122, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2257/0.4379, allocations: 131.6 MB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.4383, allocations: 75.95 kB / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003896/0.4422, allocations: 0.9542 MB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4423, allocations: 0 / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.4423, allocations: 4 kB / 1.028 GB, free: 12.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006953/0.443, allocations: 379.1 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.443, allocations: 8.031 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.4431, allocations: 38.55 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.4432, allocations: 11.86 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.4433, allocations: 178.9 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4434, allocations: 0 / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.4434, allocations: 4 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.4437, allocations: 73.66 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4437, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.4438, allocations: 4 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.4438, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.4441, allocations: 55.95 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006714/0.4448, allocations: 316.6 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.4456, allocations: 122.5 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.4456, allocations: 0 / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.4459, allocations: 83.5 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.4459, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006877/0.4466, allocations: 145.5 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.4467, allocations: 59.47 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.4468, allocations: 113.1 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.4469, allocations: 29.7 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.447, allocations: 88.14 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.447, allocations: 15.8 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/0.447, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4472, allocations: 318.8 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.4474, allocations: 31.97 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.4476, allocations: 67.34 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.4479, allocations: 31.98 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.4479, allocations: 4 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007775/0.4487, allocations: 117.5 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.4488, allocations: 8.547 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4488, allocations: 4 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.4488, allocations: 96 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4491, allocations: 23.89 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.4491, allocations: 7.922 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.4494, allocations: 19.98 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4495, allocations: 7.938 kB / 1.031 GB, free: 10.07 MB / 0.6823 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.0001852/0.4497, allocations: 117.8 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.4497, allocations: 11.91 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.4498, allocations: 8.375 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.4498, allocations: 4 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.4498, allocations: 3.953 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4498, allocations: 0 / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.451, allocations: 378.8 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.451, allocations: 0 / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.4512, allocations: 11.98 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4512, allocations: 0 / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.4513, allocations: 3.953 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4513, allocations: 0 / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4513, allocations: 0 / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.4522, allocations: 220.2 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.4523, allocations: 81.11 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.4524, allocations: 0 / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.4528, allocations: 28 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.4529, allocations: 11.98 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4529, allocations: 0 / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001169/0.453, allocations: 91.27 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/0.453, allocations: 0 / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006796/0.4537, allocations: 12 kB / 1.032 GB, free: 9.004 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: 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.001404/0.4552, allocations: 0.7475 MB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007099/0.4559, allocations: 83.89 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4559, allocations: 0 / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.4563, allocations: 35.97 kB / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.4568, allocations: 16.42 kB / 1.032 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.4594, allocations: 1.021 MB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.4599, allocations: 0.6926 MB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.296e-05/0.46, allocations: 7.859 kB / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.4601, allocations: 19.42 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of SimCode: time 2.605e-06/0.4602, allocations: 0 / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.486, allocations: 1.613 MB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003505/0.4865, allocations: 179.6 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.766, allocations: 4 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB