Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.225/2.225, allocations: 248.7 MB / 256.2 MB, free: 7.012 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.001509/0.001509, allocations: 177.9 kB / 315.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.00104, allocations: 90.52 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.453e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2069, allocations: 106.2 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9102/1.117, allocations: 135.8 MB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/1.118, allocations: 80.39 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04605/1.164, allocations: 6.802 MB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.454e-06/1.164, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.935e-05/1.164, allocations: 4 kB / 1.023 GB, free: 13.53 MB / 0.6511 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.001514/1.165, allocations: 0.4938 MB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/1.165, allocations: 12.02 kB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/1.166, allocations: 24.47 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000987/1.167, allocations: 300.3 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/1.167, allocations: 4 kB / 1.024 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/1.167, allocations: 8 kB / 1.024 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003135/1.167, allocations: 63.59 kB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/1.167, allocations: 112 kB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.167, allocations: 0 / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/1.168, allocations: 0 / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/1.168, allocations: 7.938 kB / 1.024 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/1.169, allocations: 0.5181 MB / 1.025 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/1.17, allocations: 109.3 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/1.17, allocations: 40.52 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/1.17, allocations: 0 / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/1.171, allocations: 114.3 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 4.258e-06/1.171, allocations: 0 / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0006954/1.171, allocations: 162.4 kB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/1.171, allocations: 55.41 kB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/1.172, allocations: 287.6 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/1.172, allocations: 29.45 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/1.172, allocations: 145.6 kB / 1.026 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/1.173, allocations: 35.11 kB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/1.173, allocations: 0 / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002039/1.173, allocations: 334.1 kB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/1.173, allocations: 73.61 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/1.173, allocations: 131.5 kB / 1.026 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/1.174, allocations: 85.39 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.174, allocations: 4 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009822/1.175, allocations: 251.6 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/1.175, allocations: 8 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.175, allocations: 0 / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/1.175, allocations: 7.953 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/1.176, allocations: 51.66 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.176, allocations: 0 / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/1.176, allocations: 36 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/1.176, allocations: 11.25 kB / 1.027 GB, free: 10.3 MB / 0.6511 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 () * 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.0002238/1.177, allocations: 114.7 kB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006571/1.177, allocations: 161.2 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/1.177, allocations: 23.67 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/1.178, allocations: 172.9 kB / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/1.178, allocations: 7.938 kB / 1.027 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.178, allocations: 0 / 1.027 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.178, allocations: 3.984 kB / 1.027 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/1.18, allocations: 0.4893 MB / 1.028 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.18, allocations: 0 / 1.028 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/1.18, allocations: 19.92 kB / 1.028 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.18, allocations: 0 / 1.028 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/1.18, allocations: 19.92 kB / 1.028 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/1.18, allocations: 0 / 1.028 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.18, allocations: 0 / 1.028 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007361/1.181, allocations: 263.4 kB / 1.028 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/1.181, allocations: 112.2 kB / 1.028 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/1.181, allocations: 4 kB / 1.028 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/1.182, allocations: 11.98 kB / 1.028 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.182, allocations: 23.28 kB / 1.028 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/1.182, allocations: 7.375 kB / 1.028 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004886/1.182, allocations: 192.8 kB / 1.028 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.22e-07/1.182, allocations: 0 / 1.028 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008883/1.183, allocations: 47.12 kB / 1.028 GB, free: 8.773 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: 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * 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.002695/1.186, allocations: 1.064 MB / 1.029 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007537/1.187, allocations: 153.8 kB / 1.03 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.187, allocations: 0 / 1.03 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/1.187, allocations: 60.11 kB / 1.03 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000843/1.188, allocations: 45.84 kB / 1.03 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/1.19, allocations: 360 kB / 1.03 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/1.191, allocations: 0.7587 MB / 1.031 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003355/1.191, allocations: 34.06 kB / 1.031 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/1.191, allocations: 77.41 kB / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.403e-06/1.191, allocations: 0 / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/1.237, allocations: 4.5 MB / 1.035 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004175/1.237, allocations: 171.6 kB / 1.035 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.672, allocations: 0 / 1.035 GB, free: 1.762 MB / 0.6511 GB