Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 183.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.000797/0.000797, allocations: 98.73 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003258, allocations: 8.531 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.187, allocations: 106.3 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.3513, allocations: 135.8 MB / 1.033 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.3516, allocations: 83.95 kB / 1.033 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01896/0.3706, allocations: 6.873 MB / 1.04 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3706, allocations: 0 / 1.04 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.3706, allocations: 8 kB / 1.04 GB, free: 1.422 MB / 0.6823 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.0007939/0.3715, allocations: 0.5378 MB / 1.04 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3715, allocations: 8.031 kB / 1.04 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.3716, allocations: 38.56 kB / 1.04 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.3716, allocations: 23.72 kB / 1.04 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.372, allocations: 293.7 kB / 1.04 GB, free: 436 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3721, allocations: 8.188 kB / 1.04 GB, free: 428 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3721, allocations: 12 kB / 1.04 GB, free: 416 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.3724, allocations: 152.2 kB / 1.041 GB, free: 256 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.3724, allocations: 0 / 1.041 GB, free: 256 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3724, allocations: 0 / 1.041 GB, free: 256 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3724, allocations: 4 kB / 1.041 GB, free: 252 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.3727, allocations: 104.4 kB / 1.041 GB, free: 148 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.3736, allocations: 0.5562 MB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.3739, allocations: 134.6 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3739, allocations: 4 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.3742, allocations: 139.3 kB / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.146e-06/0.3742, allocations: 0 / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0006082/0.3748, allocations: 266.2 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.3749, allocations: 55.41 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.3752, allocations: 297.7 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3752, allocations: 29.7 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.3753, allocations: 144.4 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.3754, allocations: 43.55 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.3754, allocations: 4 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3755, allocations: 338.8 kB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3757, allocations: 95.94 kB / 1.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.376, allocations: 158.2 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.3762, allocations: 111.9 kB / 1.043 GB, free: 13.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3762, allocations: 0 / 1.043 GB, free: 13.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006005/0.3768, allocations: 317.2 kB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3768, allocations: 4 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3769, allocations: 11.89 kB / 1.043 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3769, allocations: 0 / 1.043 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3771, allocations: 47.97 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.3771, allocations: 7.938 kB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3773, allocations: 27.83 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.3773, allocations: 20.03 kB / 1.043 GB, free: 13.23 MB / 0.698 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.0001435/0.3775, allocations: 163.5 kB / 1.044 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.3775, allocations: 19.72 kB / 1.044 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.378, allocations: 227.7 kB / 1.044 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.378, allocations: 7.953 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.378, allocations: 0 / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.378, allocations: 3.938 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.3788, allocations: 0.5748 MB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3788, allocations: 3.953 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.3789, allocations: 15.98 kB / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3789, allocations: 0 / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.379, allocations: 11.94 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.379, allocations: 0 / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.379, allocations: 7.969 kB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.3794, allocations: 303.2 kB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.3795, allocations: 108.7 kB / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.3795, allocations: 7.984 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3797, allocations: 23.98 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.3798, allocations: 15.97 kB / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3798, allocations: 4 kB / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000189/0.38, allocations: 204.4 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.38, allocations: 0 / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003069/0.3803, allocations: 59.91 kB / 1.045 GB, free: 11.38 MB / 0.698 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 (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.001485/0.3818, allocations: 1.172 MB / 1.046 GB, free: 10.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.3823, allocations: 213.3 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3823, allocations: 0 / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.3824, allocations: 84.27 kB / 1.047 GB, free: 10.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.3828, allocations: 48.23 kB / 1.047 GB, free: 10.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.384, allocations: 1.626 MB / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3844, allocations: 0.7636 MB / 1.049 GB, free: 7.527 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.3845, allocations: 33.94 kB / 1.049 GB, free: 7.492 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3846, allocations: 75.41 kB / 1.049 GB, free: 7.418 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.3846, allocations: 0 / 1.049 GB, free: 7.418 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.4004, allocations: 4.894 MB / 1.054 GB, free: 2.637 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.4007, allocations: 238 kB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.232, allocations: 0 / 1.054 GB, free: 2.391 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)