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.01139/0.01139, allocations: 103.6 kB / 15.06 MB, free: 6.027 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.00125/0.00125, allocations: 181.9 kB / 15.95 MB, free: 5.953 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.232/2.232, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.376/2.376, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005274, allocations: 15.98 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7487/0.7493, allocations: 98.71 MB / 0.6834 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00263/0.752, allocations: 1.558 MB / 0.685 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.7538, allocations: 0.825 MB / 0.6858 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.754, allocations: 5.938 kB / 0.6858 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.7544, allocations: 73.89 kB / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.7546, allocations: 73.7 kB / 0.6859 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.7549, allocations: 71.27 kB / 0.686 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.7552, allocations: 122.2 kB / 0.6861 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.7554, allocations: 46.77 kB / 0.6861 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.7556, allocations: 69.41 kB / 0.6862 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.7558, allocations: 81.08 kB / 0.6863 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.7558, allocations: 5.156 kB / 0.6863 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.7559, allocations: 17.45 kB / 0.6863 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.756, allocations: 47.28 kB / 0.6864 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.7561, allocations: 57.48 kB / 0.6864 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.7564, allocations: 204.2 kB / 0.6866 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.7564, allocations: 0 / 0.6866 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7565, allocations: 1.375 kB / 0.6866 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.7565, allocations: 0 / 0.6866 GB, free: 14.54 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000927/0.7574, allocations: 0.547 MB / 0.6871 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.7575, allocations: 9.844 kB / 0.6872 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.7575, allocations: 48.27 kB / 0.6872 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.68e-05/0.7576, allocations: 23.27 kB / 0.6872 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.758, allocations: 263 kB / 0.6875 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.758, allocations: 15.11 kB / 0.6875 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.7581, allocations: 13.72 kB / 0.6875 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.7586, allocations: 150 kB / 0.6876 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7586, allocations: 0 / 0.6876 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.7586, allocations: 1.734 kB / 0.6876 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.7587, allocations: 6.203 kB / 0.6876 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.7592, allocations: 105 kB / 0.6877 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/0.7601, allocations: 0.5372 MB / 0.6883 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.7607, allocations: 143.5 kB / 0.6884 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.7607, allocations: 1.609 kB / 0.6884 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.7612, allocations: 127.5 kB / 0.6885 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.7612, allocations: 0.9688 kB / 0.6885 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001056/0.7623, allocations: 268.7 kB / 0.6888 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.7623, allocations: 55.34 kB / 0.6888 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.7628, allocations: 309.5 kB / 0.6891 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.7629, allocations: 33.61 kB / 0.6892 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.763, allocations: 133.9 kB / 0.6893 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.7631, allocations: 46 kB / 0.6893 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.7631, allocations: 5.344 kB / 0.6893 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.7632, allocations: 340.6 kB / 0.6897 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.7636, allocations: 67.7 kB / 0.6897 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.7639, allocations: 129.3 kB / 0.6899 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.7643, allocations: 112.5 kB / 0.69 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7643, allocations: 0 / 0.69 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008759/0.7652, allocations: 287.6 kB / 0.6902 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.7653, allocations: 45.8 kB / 0.6903 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7653, allocations: 1.25 kB / 0.6903 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.7653, allocations: 3.938 kB / 0.6903 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.7656, allocations: 36.16 kB / 0.6903 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.7656, allocations: 6.844 kB / 0.6903 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.7659, allocations: 34.89 kB / 0.6904 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.7659, allocations: 16.66 kB / 0.6904 GB, free: 11.81 MB / 0.5261 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.0002072/0.7662, allocations: 162.3 kB / 0.6905 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.7662, allocations: 22.22 kB / 0.6906 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.7663, allocations: 25.61 kB / 0.6906 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7663, allocations: 1.406 kB / 0.6906 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.7663, allocations: 0.9375 kB / 0.6906 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.7664, allocations: 1.547 kB / 0.6906 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.7676, allocations: 0.5624 MB / 0.6911 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7676, allocations: 0 / 0.6911 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.7678, allocations: 16.66 kB / 0.6912 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.7678, allocations: 5.125 kB / 0.6912 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.7678, allocations: 7.453 kB / 0.6912 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7678, allocations: 0 / 0.6912 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7679, allocations: 1.609 kB / 0.6912 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.7686, allocations: 305.3 kB / 0.6915 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.7687, allocations: 114.9 kB / 0.6916 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.7688, allocations: 7.125 kB / 0.6916 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.769, allocations: 16.16 kB / 0.6916 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.7691, allocations: 16.2 kB / 0.6916 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.7692, allocations: 6.297 kB / 0.6916 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003325/0.7695, allocations: 224.2 kB / 0.6918 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7695, allocations: 4 kB / 0.6918 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000469/0.77, allocations: 48.36 kB / 0.6919 GB, free: 10.8 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: 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.002008/0.772, allocations: 1.142 MB / 0.693 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008263/0.7729, allocations: 251.6 kB / 0.6932 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7729, allocations: 384 / 0.6932 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.7732, allocations: 87.09 kB / 0.6933 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.7737, allocations: 42.45 kB / 0.6934 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.7752, allocations: 1.618 MB / 0.6949 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.7756, allocations: 0.7493 MB / 0.6957 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.7758, allocations: 31.34 kB / 0.6957 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.7759, allocations: 67.59 kB / 0.6958 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/0.776, allocations: 3.938 kB / 0.6958 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.8037, allocations: 4.809 MB / 0.7005 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.8039, allocations: 258 kB / 0.7007 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.339, allocations: 3.938 kB / 0.7007 GB, free: 5.844 MB / 0.5261 GB