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.2/2.2, allocations: 248.5 MB / 261.1 MB, free: 6.043 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.001524/0.001523, allocations: 175.3 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.1 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 94.44 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.753e-05/3.755e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2192, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9474/1.167, allocations: 135.5 MB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004129/1.167, allocations: 76.95 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04783/1.215, allocations: 6.861 MB / 1.03 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of FrontEnd: time 7.905e-06/1.215, allocations: 4 kB / 1.03 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.141e-05/1.215, allocations: 0 / 1.03 GB, free: 9.938 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.001469/1.217, allocations: 0.4956 MB / 1.03 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.276e-05/1.217, allocations: 12.03 kB / 1.03 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.582e-05/1.217, allocations: 38.11 kB / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/1.217, allocations: 23.72 kB / 1.03 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/1.218, allocations: 293.7 kB / 1.031 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/1.218, allocations: 11.36 kB / 1.031 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/1.218, allocations: 11.25 kB / 1.031 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/1.219, allocations: 132.1 kB / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.219, allocations: 0 / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/1.219, allocations: 3.875 kB / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/1.219, allocations: 4 kB / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/1.219, allocations: 66.66 kB / 1.031 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/1.221, allocations: 0.5516 MB / 1.031 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/1.221, allocations: 119.1 kB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/1.222, allocations: 43.62 kB / 1.032 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/1.222, allocations: 7.938 kB / 1.032 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/1.222, allocations: 105.7 kB / 1.032 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 4.689e-06/1.222, allocations: 0 / 1.032 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.000732/1.223, allocations: 168.9 kB / 1.032 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/1.223, allocations: 59.39 kB / 1.032 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/1.224, allocations: 292 kB / 1.032 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/1.224, allocations: 34.77 kB / 1.032 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/1.224, allocations: 150.6 kB / 1.032 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.933e-05/1.224, allocations: 34.73 kB / 1.032 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/1.224, allocations: 3.188 kB / 1.032 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002211/1.224, allocations: 337.8 kB / 1.033 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/1.225, allocations: 83.3 kB / 1.033 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/1.225, allocations: 135.2 kB / 1.033 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/1.226, allocations: 85.08 kB / 1.033 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.226, allocations: 4 kB / 1.033 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0011/1.227, allocations: 291.3 kB / 1.033 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/1.227, allocations: 4 kB / 1.033 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/1.227, allocations: 7.984 kB / 1.033 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/1.227, allocations: 4 kB / 1.033 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/1.228, allocations: 43.91 kB / 1.033 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/1.228, allocations: 4.188 kB / 1.033 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/1.228, allocations: 34.33 kB / 1.033 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/1.228, allocations: 12 kB / 1.033 GB, free: 6.543 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.0002013/1.228, allocations: 127.5 kB / 1.034 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/1.229, allocations: 27.66 kB / 1.034 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007565/1.229, allocations: 183.6 kB / 1.034 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.229, allocations: 8 kB / 1.034 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.229, allocations: 0 / 1.034 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/1.229, allocations: 0 / 1.034 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/1.231, allocations: 0.5406 MB / 1.034 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.231, allocations: 0 / 1.034 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/1.231, allocations: 19.92 kB / 1.034 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/1.231, allocations: 4 kB / 1.034 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/1.231, allocations: 7.812 kB / 1.034 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/1.231, allocations: 3.938 kB / 1.034 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.231, allocations: 0 / 1.034 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/1.232, allocations: 272.2 kB / 1.035 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/1.232, allocations: 99.89 kB / 1.035 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/1.232, allocations: 7.984 kB / 1.035 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/1.233, allocations: 15.42 kB / 1.035 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/1.233, allocations: 22.97 kB / 1.035 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/1.233, allocations: 7.25 kB / 1.035 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004705/1.234, allocations: 201 kB / 1.035 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.41e-07/1.234, allocations: 0 / 1.035 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007989/1.234, allocations: 62.89 kB / 1.035 GB, free: 5.07 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.002832/1.237, allocations: 1.089 MB / 1.036 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007693/1.238, allocations: 160 kB / 1.036 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.238, allocations: 3.062 kB / 1.036 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/1.238, allocations: 59 kB / 1.036 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/1.239, allocations: 51.42 kB / 1.036 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/1.241, allocations: 391.3 kB / 1.037 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/1.242, allocations: 0.7592 MB / 1.037 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003039/1.242, allocations: 34.06 kB / 1.037 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/1.242, allocations: 76.66 kB / 1.037 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of SimCode: time 1.483e-06/1.242, allocations: 0 / 1.037 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/1.278, allocations: 4.941 MB / 1.042 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003464/1.279, allocations: 189.3 kB / 1.042 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.853, allocations: 0 / 1.042 GB, free: 13.67 MB / 0.6667 GB