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.351/2.351, allocations: 248.5 MB / 261 MB, free: 6.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 178.7 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001067/0.001067, allocations: 98.36 kB / 0.6754 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.833e-05/4.837e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 106.3 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8958/1.104, allocations: 131.6 MB / 1.019 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.105, allocations: 67.28 kB / 1.019 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003996/1.109, allocations: 0.9621 MB / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/1.109, allocations: 0 / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.256e-06/1.109, allocations: 0 / 1.02 GB, free: 2.738 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006457/1.109, allocations: 369.9 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.11, allocations: 8.031 kB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/1.11, allocations: 38.48 kB / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/1.11, allocations: 11.86 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/1.11, allocations: 167 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/1.11, allocations: 4 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/1.11, allocations: 2.688 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/1.11, allocations: 60.81 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.11, allocations: 0 / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/1.11, allocations: 7.359 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.11, allocations: 0 / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.896e-05/1.11, allocations: 19.94 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/1.111, allocations: 317.6 kB / 1.021 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/1.112, allocations: 99.58 kB / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/1.112, allocations: 24.97 kB / 1.021 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/1.112, allocations: 2.625 kB / 1.021 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/1.112, allocations: 66.77 kB / 1.021 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/1.112, allocations: 4 kB / 1.021 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002676/1.112, allocations: 75.36 kB / 1.021 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.112, allocations: 59.34 kB / 1.021 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.112, allocations: 108.2 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/1.112, allocations: 29.7 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/1.112, allocations: 86.2 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/1.112, allocations: 19 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/1.112, allocations: 0 / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.113, allocations: 322.3 kB / 1.022 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/1.113, allocations: 13.94 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/1.113, allocations: 44.12 kB / 1.022 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.435e-05/1.113, allocations: 22.98 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.113, allocations: 192 / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002162/1.113, allocations: 90.22 kB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.113, allocations: 7.938 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.113, allocations: 4.859 kB / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.113, allocations: 11.95 kB / 1.022 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/1.113, allocations: 15.98 kB / 1.022 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.113, allocations: 0 / 1.022 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/1.114, allocations: 19.8 kB / 1.022 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/1.114, allocations: 4 kB / 1.022 GB, free: 0.5469 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 () * 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.0001434/1.114, allocations: 120.2 kB / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/1.114, allocations: 7.891 kB / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/1.114, allocations: 16.55 kB / 1.022 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.114, allocations: 0 / 1.022 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.114, allocations: 3.953 kB / 1.022 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.114, allocations: 0 / 1.022 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/1.114, allocations: 339.8 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.114, allocations: 0 / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/1.115, allocations: 15.98 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.115, allocations: 0 / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/1.115, allocations: 7.391 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.115, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.115, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/1.115, allocations: 166.2 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/1.115, allocations: 92.38 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/1.115, allocations: 0 / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/1.115, allocations: 23.94 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/1.115, allocations: 3.984 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.115, allocations: 7.812 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.403e-05/1.115, allocations: 90.28 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.115, allocations: 0 / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003012/1.116, allocations: 15.94 kB / 1.023 GB, free: 15.61 MB / 0.6511 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) * 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.0005571/1.116, allocations: 0.7024 MB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001954/1.116, allocations: 50.73 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.116, allocations: 288 / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/1.117, allocations: 27.69 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/1.117, allocations: 20.06 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/1.117, allocations: 137 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/1.118, allocations: 0.6887 MB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.309e-05/1.118, allocations: 11.84 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/1.118, allocations: 18.94 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/1.118, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/1.143, allocations: 1.633 MB / 1.026 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003514/1.143, allocations: 162.1 kB / 1.026 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.51, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.6511 GB