Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.892/1.892, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001182/0.001182, allocations: 180.5 kB / 371.8 MB, free: 10.29 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.756/1.756, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 97.09 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004012, allocations: 11.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2445, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7273/0.9719, allocations: 142 MB / 1.118 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.9721, allocations: 84.12 kB / 1.118 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.9902, allocations: 7.041 MB / 1.125 GB, free: 31.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9902, allocations: 0 / 1.125 GB, free: 31.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.107e-05/0.9903, allocations: 7.812 kB / 1.125 GB, free: 31.82 MB / 0.698 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.0008107/0.9911, allocations: 0.5447 MB / 1.126 GB, free: 31.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.9911, allocations: 11.77 kB / 1.126 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.9912, allocations: 41.69 kB / 1.126 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.9912, allocations: 23.38 kB / 1.126 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.9917, allocations: 300.9 kB / 1.126 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.9917, allocations: 22.03 kB / 1.126 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.9918, allocations: 11.72 kB / 1.126 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.9921, allocations: 121.6 kB / 1.126 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.9921, allocations: 3.984 kB / 1.126 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.9921, allocations: 3.719 kB / 1.126 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9921, allocations: 0 / 1.126 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.9924, allocations: 107.1 kB / 1.126 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.9932, allocations: 482.6 kB / 1.127 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.9935, allocations: 147.7 kB / 1.127 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.9935, allocations: 0 / 1.127 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.9938, allocations: 120.2 kB / 1.127 GB, free: 30.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.9938, allocations: 0 / 1.127 GB, free: 30.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.00064/0.9945, allocations: 280 kB / 1.127 GB, free: 30.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.9945, allocations: 55.25 kB / 1.127 GB, free: 30.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.9949, allocations: 303.2 kB / 1.128 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.9949, allocations: 33.64 kB / 1.128 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.995, allocations: 136.4 kB / 1.128 GB, free: 30.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.995, allocations: 41.69 kB / 1.128 GB, free: 30.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.995, allocations: 6.203 kB / 1.128 GB, free: 30.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9952, allocations: 334 kB / 1.128 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.9954, allocations: 99.42 kB / 1.128 GB, free: 29.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.9956, allocations: 152.8 kB / 1.128 GB, free: 29.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.9959, allocations: 119.1 kB / 1.128 GB, free: 29.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9959, allocations: 224 / 1.128 GB, free: 29.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005695/0.9965, allocations: 314.6 kB / 1.129 GB, free: 29.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.9965, allocations: 7.812 kB / 1.129 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.9965, allocations: 3.875 kB / 1.129 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.9965, allocations: 7.891 kB / 1.129 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.9968, allocations: 46.53 kB / 1.129 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.9968, allocations: 3.969 kB / 1.129 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.9969, allocations: 39.09 kB / 1.129 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.997, allocations: 11.5 kB / 1.129 GB, free: 29.82 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: 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.0001622/0.9972, allocations: 157.3 kB / 1.129 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.9972, allocations: 23.31 kB / 1.129 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.9976, allocations: 224.5 kB / 1.129 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.9977, allocations: 3.812 kB / 1.129 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9977, allocations: 3.953 kB / 1.129 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.9977, allocations: 3.984 kB / 1.129 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.9985, allocations: 0.5703 MB / 1.13 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9985, allocations: 3.938 kB / 1.13 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.9986, allocations: 19.39 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.9986, allocations: 3.953 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.9986, allocations: 7.469 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9986, allocations: 4 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9986, allocations: 0 / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.9991, allocations: 310 kB / 1.13 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.9992, allocations: 108.5 kB / 1.13 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.9992, allocations: 15.17 kB / 1.13 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.9994, allocations: 23.41 kB / 1.13 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.9995, allocations: 14.86 kB / 1.13 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.9995, allocations: 11.73 kB / 1.13 GB, free: 28.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001759/0.9997, allocations: 206.8 kB / 1.131 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9997, allocations: 0 / 1.131 GB, free: 28.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003174/1, allocations: 65.17 kB / 1.131 GB, free: 28.77 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.001545/1.002, allocations: 1.176 MB / 1.132 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004429/1.002, allocations: 199.9 kB / 1.132 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.002, allocations: 4.062 kB / 1.132 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/1.002, allocations: 78.3 kB / 1.132 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/1.003, allocations: 45.23 kB / 1.132 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/1.004, allocations: 1.646 MB / 1.134 GB, free: 26.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/1.004, allocations: 0.7573 MB / 1.134 GB, free: 25.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001019/1.004, allocations: 37.05 kB / 1.134 GB, free: 25.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/1.004, allocations: 77.09 kB / 1.135 GB, free: 25.65 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/1.004, allocations: 0 / 1.135 GB, free: 25.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/1.02, allocations: 5.065 MB / 1.139 GB, free: 23.23 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.02, allocations: 230.6 kB / 1.14 GB, free: 22.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.901, allocations: 4 kB / 1.14 GB, free: 22.99 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)