Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.6 MB / 307.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 181.1 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.4 MB / 0.6366 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 87.12 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004825, allocations: 16 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3226, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6965/1.019, allocations: 143 MB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/1.019, allocations: 86.81 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01959/1.039, allocations: 7.047 MB / 1.135 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.039, allocations: 0 / 1.135 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.266e-05/1.039, allocations: 4 kB / 1.135 GB, free: 27.64 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009725/1.04, allocations: 0.5392 MB / 1.136 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.04, allocations: 12.77 kB / 1.136 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.18e-05/1.04, allocations: 45.42 kB / 1.136 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.565e-05/1.04, allocations: 26.39 kB / 1.136 GB, free: 27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/1.041, allocations: 295 kB / 1.136 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/1.041, allocations: 8.188 kB / 1.136 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/1.041, allocations: 20.09 kB / 1.136 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/1.041, allocations: 123.8 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.041, allocations: 4.438 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/1.041, allocations: 1.406 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.041, allocations: 4 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/1.042, allocations: 100.8 kB / 1.136 GB, free: 26.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/1.042, allocations: 490.8 kB / 1.137 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/1.043, allocations: 131.5 kB / 1.137 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/1.043, allocations: 8 kB / 1.137 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/1.043, allocations: 129.1 kB / 1.137 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/1.043, allocations: 0.5625 kB / 1.137 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0006636/1.044, allocations: 275.3 kB / 1.137 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/1.044, allocations: 55.41 kB / 1.137 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/1.044, allocations: 302.7 kB / 1.137 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/1.044, allocations: 30.31 kB / 1.138 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/1.044, allocations: 135.5 kB / 1.138 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/1.044, allocations: 47.72 kB / 1.138 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/1.044, allocations: 7.938 kB / 1.138 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/1.044, allocations: 339 kB / 1.138 GB, free: 24.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/1.045, allocations: 99.61 kB / 1.138 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/1.045, allocations: 153.2 kB / 1.138 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/1.045, allocations: 106.8 kB / 1.138 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.045, allocations: 4.938 kB / 1.138 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000561/1.046, allocations: 312.4 kB / 1.139 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.046, allocations: 4.562 kB / 1.139 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.046, allocations: 4.219 kB / 1.139 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.046, allocations: 8.453 kB / 1.139 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/1.046, allocations: 51.8 kB / 1.139 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.046, allocations: 5.156 kB / 1.139 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/1.046, allocations: 32.28 kB / 1.139 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/1.046, allocations: 17.89 kB / 1.139 GB, free: 23.97 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001478/1.046, allocations: 156.8 kB / 1.139 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/1.046, allocations: 18.11 kB / 1.139 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/1.047, allocations: 229.7 kB / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/1.047, allocations: 0 / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.047, allocations: 4.453 kB / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/1.047, allocations: 0.7031 kB / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008203/1.048, allocations: 0.5732 MB / 1.14 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.048, allocations: 0.5625 kB / 1.14 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/1.048, allocations: 20.67 kB / 1.14 GB, free: 23.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/1.048, allocations: 7.953 kB / 1.14 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/1.048, allocations: 5.406 kB / 1.14 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.048, allocations: 1.688 kB / 1.14 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.048, allocations: 8.625 kB / 1.14 GB, free: 23.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/1.048, allocations: 302.9 kB / 1.14 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/1.048, allocations: 110.8 kB / 1.14 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/1.049, allocations: 9.359 kB / 1.14 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/1.049, allocations: 21.02 kB / 1.14 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/1.049, allocations: 19.11 kB / 1.14 GB, free: 22.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/1.049, allocations: 8.031 kB / 1.14 GB, free: 22.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001972/1.049, allocations: 213 kB / 1.14 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.01e-07/1.049, allocations: 0 / 1.14 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003492/1.049, allocations: 58.58 kB / 1.14 GB, free: 22.32 MB / 0.7292 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.001491/1.051, allocations: 1.181 MB / 1.142 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004591/1.051, allocations: 205.2 kB / 1.142 GB, free: 21.17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.051, allocations: 384 / 1.142 GB, free: 21.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/1.052, allocations: 83 kB / 1.142 GB, free: 21.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/1.052, allocations: 49.17 kB / 1.142 GB, free: 21.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/1.053, allocations: 1.649 MB / 1.144 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/1.053, allocations: 0.756 MB / 1.144 GB, free: 18.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001441/1.054, allocations: 37.36 kB / 1.144 GB, free: 18.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.054, allocations: 79.34 kB / 1.144 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of SimCode: time 7.61e-07/1.054, allocations: 0 / 1.144 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/1.073, allocations: 5.064 MB / 1.149 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/1.073, allocations: 219.7 kB / 1.15 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.928, allocations: 0 / 1.15 GB, free: 15.35 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)