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.Integers.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.Integers.Validation.Change,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_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.01259/0.01259, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001229/0.001228, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.993/3.993, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.232/4.232, allocations: 472.3 MB / 0.9017 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004928, allocations: 12 kB / 1.008 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.673/0.6736, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002589/0.6762, allocations: 1.567 MB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.678, allocations: 0.826 MB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.6781, allocations: 3.938 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.6785, allocations: 78.16 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.6787, allocations: 68.28 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.679, allocations: 76.95 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.6793, allocations: 170.5 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.6794, allocations: 41.89 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.6796, allocations: 63.5 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.6797, allocations: 81.22 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.6798, allocations: 5.344 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.6799, allocations: 30.89 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.457e-05/0.68, allocations: 45.77 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.6801, allocations: 63.5 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.6804, allocations: 194.8 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6804, allocations: 1.188 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6804, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.6804, allocations: 1.312 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009162/0.6814, allocations: 0.5494 MB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.6814, allocations: 8.875 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.6815, allocations: 49.72 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.6816, allocations: 23.12 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.6819, allocations: 266.1 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.682, allocations: 17.55 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.682, allocations: 12.62 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.6825, allocations: 148.2 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6825, allocations: 0 / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.6826, allocations: 4.938 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.6826, allocations: 9.859 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.6831, allocations: 104.5 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008873/0.684, allocations: 0.535 MB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.6845, allocations: 140.1 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.6848, allocations: 65.08 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.6848, allocations: 10.72 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.6853, allocations: 125 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.6853, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.001037/0.6864, allocations: 271.2 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6864, allocations: 55.16 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.6869, allocations: 309.8 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.6869, allocations: 36.55 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.687, allocations: 134.9 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.6871, allocations: 36.95 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.6871, allocations: 9.906 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.6872, allocations: 337.7 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.6875, allocations: 75.28 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.6879, allocations: 124.6 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.6882, allocations: 110.2 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6883, allocations: 1.125 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008768/0.6891, allocations: 286.1 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.6892, allocations: 40 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6892, allocations: 2.281 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.6893, allocations: 3.406 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.6896, allocations: 36.09 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.6896, allocations: 3.891 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.6899, allocations: 37.92 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.6899, allocations: 7.781 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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.0001957/0.6901, allocations: 171.2 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.6902, allocations: 22.84 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.103e-05/0.6902, allocations: 23.77 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6903, allocations: 2 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.6903, allocations: 1.125 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6903, allocations: 0.7031 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.6915, allocations: 0.5633 MB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.6915, allocations: 1.188 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.6917, allocations: 19.52 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.6917, allocations: 1 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.6917, allocations: 2.188 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.6917, allocations: 5.031 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6917, allocations: 0 / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.6925, allocations: 303.4 kB / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.6926, allocations: 122.3 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.6927, allocations: 7.609 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.6929, allocations: 19.11 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.693, allocations: 16.66 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.6931, allocations: 7.734 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003127/0.6934, allocations: 222.2 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6934, allocations: 0 / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004532/0.6939, allocations: 51.08 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001955/0.6958, allocations: 1.137 MB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008166/0.6967, allocations: 251.5 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6967, allocations: 4.812 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.697, allocations: 77.88 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.6976, allocations: 40.56 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.701, allocations: 1.402 MB / 1.116 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.7013, allocations: 0.7534 MB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.7014, allocations: 31.97 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.7016, allocations: 71.27 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.713e-06/0.7016, allocations: 4.562 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.7361, allocations: 4.892 MB / 1.121 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.7363, allocations: 268.9 kB / 1.121 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.272, allocations: 0 / 1.121 GB, free: 204.4 MB / 0.7292 GB