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.01851/0.01851, allocations: 110.9 kB / 15.06 MB, free: 5.555 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.001249/0.001249, allocations: 181.8 kB / 15.95 MB, free: 5.52 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.012/2.012, allocations: 194.5 MB / 211.3 MB, free: 10.97 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.348/2.348, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006719/0.0006721, allocations: 16 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7589, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001795/0.7608, allocations: 1.159 MB / 0.6846 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000563/0.7614, allocations: 211.2 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.7615, allocations: 5.375 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.7615, allocations: 8.531 kB / 0.6848 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.7616, allocations: 10.14 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.7618, allocations: 20.55 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.734e-05/0.7619, allocations: 36.77 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.762, allocations: 13.08 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.7621, allocations: 18.73 kB / 0.6849 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.7622, allocations: 19.61 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.7622, allocations: 10.73 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.7622, allocations: 2.625 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.7623, allocations: 11.86 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.7623, allocations: 29.73 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.987e-05/0.7624, allocations: 34.11 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.7624, allocations: 1.719 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7624, allocations: 0 / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7624, allocations: 0 / 0.685 GB, free: 15.7 MB / 0.5261 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.0006271/0.7631, allocations: 376.3 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.7631, allocations: 14.17 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.7632, allocations: 36.48 kB / 0.6854 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.7632, allocations: 7.875 kB / 0.6854 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.7633, allocations: 175.7 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.7634, allocations: 2.656 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.7634, allocations: 8.312 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.7637, allocations: 74.25 kB / 0.6857 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.7637, allocations: 1.281 kB / 0.6857 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.7637, allocations: 4.875 kB / 0.6857 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.7637, allocations: 1.625 kB / 0.6857 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.7641, allocations: 57.8 kB / 0.6857 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.7647, allocations: 308.6 kB / 0.686 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.7654, allocations: 122.1 kB / 0.6861 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.7654, allocations: 1.531 kB / 0.6861 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/0.7658, allocations: 85.7 kB / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.7658, allocations: 0 / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006747/0.7665, allocations: 147.5 kB / 0.6864 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.7665, allocations: 53.72 kB / 0.6864 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.918e-05/0.7667, allocations: 120.8 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.7667, allocations: 36 kB / 0.6866 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.7667, allocations: 86.92 kB / 0.6866 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.7668, allocations: 22.02 kB / 0.6867 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.7668, allocations: 0.9688 kB / 0.6867 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.7669, allocations: 317.9 kB / 0.687 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.7671, allocations: 30.94 kB / 0.687 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.7673, allocations: 65.14 kB / 0.6871 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.7674, allocations: 37.22 kB / 0.6871 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7675, allocations: 4 kB / 0.6871 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004523/0.7679, allocations: 119.8 kB / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.768, allocations: 4.906 kB / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.768, allocations: 1.031 kB / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.768, allocations: 2.438 kB / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.7681, allocations: 26.75 kB / 0.6872 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7682, allocations: 1.734 kB / 0.6872 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.7683, allocations: 20.36 kB / 0.6873 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.7684, allocations: 2.625 kB / 0.6873 GB, free: 13.78 MB / 0.5261 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.0001003/0.7685, allocations: 116 kB / 0.6874 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.7685, allocations: 11.31 kB / 0.6874 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.7686, allocations: 14.25 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7686, allocations: 1.828 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7686, allocations: 3.953 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7686, allocations: 2.016 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007064/0.7693, allocations: 371.4 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7693, allocations: 3.938 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.7695, allocations: 14.12 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.7695, allocations: 2.109 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.7695, allocations: 3.953 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.7695, allocations: 1.516 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7695, allocations: 0.5625 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.77, allocations: 212.2 kB / 0.688 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.77, allocations: 83.36 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.7701, allocations: 1.156 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.7703, allocations: 22.98 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.7703, allocations: 7.703 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.7704, allocations: 10.66 kB / 0.6881 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.7704, allocations: 90.16 kB / 0.6882 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7704, allocations: 0 / 0.6882 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003377/0.7708, allocations: 12.16 kB / 0.6882 GB, free: 12.95 MB / 0.5261 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.0007239/0.7715, allocations: 0.7625 MB / 0.689 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.772, allocations: 83.27 kB / 0.689 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.772, allocations: 0.9375 kB / 0.689 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.7722, allocations: 35.72 kB / 0.6891 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.7726, allocations: 20.45 kB / 0.6891 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.7741, allocations: 1.01 MB / 0.6901 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.7743, allocations: 0.6907 MB / 0.6907 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.403e-05/0.7744, allocations: 5.453 kB / 0.6908 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.7745, allocations: 19.78 kB / 0.6908 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of SimCode: time 9.81e-07/0.7745, allocations: 0 / 0.6908 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.8002, allocations: 1.621 MB / 0.6924 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/0.8005, allocations: 200.2 kB / 0.6925 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.291, allocations: 3.938 kB / 0.6925 GB, free: 10.16 MB / 0.5261 GB