Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0102/0.0102, allocations: 84.72 kB / 15.04 MB, free: 6.062 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001196/0.001196, allocations: 171.6 kB / 15.92 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.099/2.099, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.354/2.354, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004974, allocations: 13.03 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002952/0.2212, allocations: 1.606 MB / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2235, allocations: 0.8473 MB / 0.7305 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.2237, allocations: 11.94 kB / 0.7305 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.2241, allocations: 75.77 kB / 0.7306 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.2244, allocations: 75.77 kB / 0.7306 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.2249, allocations: 95.75 kB / 0.7307 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.2251, allocations: 127.7 kB / 0.7308 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.2254, allocations: 45.83 kB / 0.7309 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.2256, allocations: 79.69 kB / 0.731 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.2258, allocations: 75.67 kB / 0.731 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.2258, allocations: 4 kB / 0.731 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2259, allocations: 35.84 kB / 0.7311 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.226, allocations: 39.89 kB / 0.7311 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.2261, allocations: 57.58 kB / 0.7312 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.2265, allocations: 195.8 kB / 0.7314 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2265, allocations: 4 kB / 0.7314 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2265, allocations: 0 / 0.7314 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.2265, allocations: 0 / 0.7314 GB, free: 6.785 MB / 0.5573 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.001127/0.2277, allocations: 0.5023 MB / 0.7318 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.2277, allocations: 8.031 kB / 0.7319 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.06e-05/0.2278, allocations: 42.55 kB / 0.7319 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.2279, allocations: 27.72 kB / 0.7319 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.2284, allocations: 269.8 kB / 0.7322 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.2284, allocations: 8.188 kB / 0.7322 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.2285, allocations: 8 kB / 0.7322 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.229, allocations: 147 kB / 0.7323 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.229, allocations: 7.938 kB / 0.7323 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.2291, allocations: 8 kB / 0.7323 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.2291, allocations: 4 kB / 0.7324 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.2296, allocations: 96.48 kB / 0.7324 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.2307, allocations: 0.5278 MB / 0.733 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.2313, allocations: 146.5 kB / 0.7331 GB, free: 4.828 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.2313, allocations: 4 kB / 0.7331 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.2318, allocations: 127.3 kB / 0.7332 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 2.985e-06/0.2318, allocations: 4 kB / 0.7332 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.001084/0.2329, allocations: 259.4 kB / 0.7335 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.233, allocations: 59.41 kB / 0.7335 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.2335, allocations: 318.7 kB / 0.7338 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.2336, allocations: 33.7 kB / 0.7339 GB, free: 4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2337, allocations: 144.4 kB / 0.734 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.2338, allocations: 35.53 kB / 0.734 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.2338, allocations: 8 kB / 0.734 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.234, allocations: 338.8 kB / 0.7344 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.2344, allocations: 91.95 kB / 0.7345 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.2348, allocations: 139 kB / 0.7346 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.2352, allocations: 102 kB / 0.7347 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2352, allocations: 0 / 0.7347 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000954/0.2361, allocations: 297.3 kB / 0.735 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2362, allocations: 4 kB / 0.735 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.2362, allocations: 4 kB / 0.735 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.2362, allocations: 4 kB / 0.735 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.2366, allocations: 56.09 kB / 0.735 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2366, allocations: 4 kB / 0.735 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.2369, allocations: 27.83 kB / 0.7351 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.237, allocations: 12 kB / 0.7351 GB, free: 2.723 MB / 0.5573 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 (32): * Single equations (assignments): 32 * 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.0002357/0.2372, allocations: 171.4 kB / 0.7352 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.2373, allocations: 23.7 kB / 0.7353 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.2374, allocations: 22.19 kB / 0.7353 GB, free: 2.504 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.2374, allocations: 8 kB / 0.7353 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2374, allocations: 0 / 0.7353 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2374, allocations: 3.984 kB / 0.7353 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.2387, allocations: 0.5567 MB / 0.7358 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2388, allocations: 0 / 0.7358 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2389, allocations: 19.92 kB / 0.7359 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2389, allocations: 4 kB / 0.7359 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.239, allocations: 0 / 0.7359 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.239, allocations: 0 / 0.7359 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.239, allocations: 0 / 0.7359 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.2398, allocations: 310.5 kB / 0.7362 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.2399, allocations: 100.8 kB / 0.7363 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.2399, allocations: 8 kB / 0.7363 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.2402, allocations: 19.98 kB / 0.7363 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.2403, allocations: 19.91 kB / 0.7363 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.2403, allocations: 11.94 kB / 0.7363 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003263/0.2407, allocations: 204.4 kB / 0.7365 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2407, allocations: 0 / 0.7365 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004667/0.2412, allocations: 43.95 kB / 0.7365 GB, free: 1.121 MB / 0.5573 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.002263/0.2434, allocations: 1.159 MB / 0.7377 GB, free: 84 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008804/0.2444, allocations: 203.7 kB / 0.7379 GB, free: 15.88 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2444, allocations: 0 / 0.7379 GB, free: 15.88 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.2447, allocations: 84.27 kB / 0.738 GB, free: 15.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.2452, allocations: 38.94 kB / 0.738 GB, free: 15.77 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.2471, allocations: 1.61 MB / 0.7396 GB, free: 14.08 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.2475, allocations: 0.7521 MB / 0.7403 GB, free: 13.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.2477, allocations: 33.94 kB / 0.7403 GB, free: 13.27 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.2479, allocations: 75.41 kB / 0.7404 GB, free: 13.19 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/0.248, allocations: 0 / 0.7404 GB, free: 13.19 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.2799, allocations: 4.776 MB / 0.7451 GB, free: 8.52 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003267/0.2803, allocations: 234.7 kB / 0.7453 GB, free: 8.277 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/2.761, allocations: 7.875 kB / 0.7453 GB, free: 8.27 MB / 0.573 GB