Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9548/0.9568, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003929/0.9607, allocations: 1.956 MB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.9633, allocations: 1.281 MB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.9634, allocations: 10 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.9639, allocations: 90.7 kB / 1.282 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.9643, allocations: 142.6 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.9647, allocations: 131.6 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.965, allocations: 219.7 kB / 1.283 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.9652, allocations: 37.44 kB / 1.283 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.9654, allocations: 111.9 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.9655, allocations: 111.9 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.9656, allocations: 13.56 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.9657, allocations: 52.09 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.9658, allocations: 66.84 kB / 1.283 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.9659, allocations: 92.52 kB / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.9663, allocations: 277.6 kB / 1.283 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9663, allocations: 5.312 kB / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9663, allocations: 0 / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.9663, allocations: 0 / 1.283 GB, free: 8.875 MB / 0.9981 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.001111/0.9675, allocations: 0.5568 MB / 1.284 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.9675, allocations: 9 kB / 1.284 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.72e-05/0.9675, allocations: 3.719 kB / 1.284 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.9676, allocations: 40.25 kB / 1.284 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.061e-05/0.9677, allocations: 33.39 kB / 1.284 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.9681, allocations: 300.2 kB / 1.284 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.9682, allocations: 12.81 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.9682, allocations: 12.03 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.9686, allocations: 120.8 kB / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9686, allocations: 0 / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.9686, allocations: 1.797 kB / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.9686, allocations: 6.547 kB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.9689, allocations: 89.75 kB / 1.285 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009254/0.9698, allocations: 452.9 kB / 1.285 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.9702, allocations: 120.1 kB / 1.285 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.9704, allocations: 54.95 kB / 1.285 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.9705, allocations: 2.531 kB / 1.285 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.9708, allocations: 127.2 kB / 1.285 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.515e-06/0.9708, allocations: 0 / 1.285 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0007833/0.9716, allocations: 248.6 kB / 1.286 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.9717, allocations: 55.12 kB / 1.286 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.9721, allocations: 341.7 kB / 1.286 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.9722, allocations: 32.5 kB / 1.286 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.9723, allocations: 134.4 kB / 1.286 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.9723, allocations: 46.03 kB / 1.286 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.9724, allocations: 63.31 kB / 1.286 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9726, allocations: 333.8 kB / 1.286 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.9728, allocations: 84.41 kB / 1.287 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.9731, allocations: 134.8 kB / 1.287 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.9735, allocations: 194.2 kB / 1.287 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9735, allocations: 1.156 kB / 1.287 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006447/0.9742, allocations: 288.8 kB / 1.287 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.9742, allocations: 5.281 kB / 1.287 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9742, allocations: 6.25 kB / 1.287 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.9742, allocations: 2 kB / 1.287 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.9744, allocations: 43.31 kB / 1.287 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.9744, allocations: 2.406 kB / 1.287 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.9746, allocations: 30.53 kB / 1.287 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.9746, allocations: 13.27 kB / 1.287 GB, free: 6.219 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.9748, allocations: 161.3 kB / 1.287 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.9749, allocations: 22.08 kB / 1.287 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.861e-05/0.975, allocations: 26.45 kB / 1.287 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.975, allocations: 1.125 kB / 1.287 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.975, allocations: 2.031 kB / 1.287 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.975, allocations: 4.75 kB / 1.287 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009805/0.976, allocations: 0.5508 MB / 1.288 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.976, allocations: 0 / 1.288 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.9761, allocations: 26.08 kB / 1.288 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.9761, allocations: 1.25 kB / 1.288 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.9761, allocations: 2.547 kB / 1.288 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.9761, allocations: 1.406 kB / 1.288 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9761, allocations: 8.781 kB / 1.288 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.9766, allocations: 294.3 kB / 1.288 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.9767, allocations: 104.1 kB / 1.288 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.9767, allocations: 6.266 kB / 1.288 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.9769, allocations: 13.3 kB / 1.288 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.977, allocations: 23.61 kB / 1.288 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.977, allocations: 10.61 kB / 1.288 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002303/0.9772, allocations: 209.4 kB / 1.289 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9772, allocations: 0 / 1.289 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003573/0.9776, allocations: 54.53 kB / 1.289 GB, free: 5.195 MB / 0.9981 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 (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002463/0.98, allocations: 1.153 MB / 1.29 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.9806, allocations: 172.5 kB / 1.29 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9806, allocations: 0 / 1.29 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.9808, allocations: 70.41 kB / 1.29 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.9812, allocations: 50.92 kB / 1.29 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.9851, allocations: 2.625 MB / 1.293 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.9855, allocations: 0.7517 MB / 1.293 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.9856, allocations: 29.58 kB / 1.293 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.9858, allocations: 78.2 kB / 1.294 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.9858, allocations: 0 / 1.294 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/1.013, allocations: 5.614 MB / 1.299 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.856/9.869, allocations: 10.45 kB / 1.299 GB, free: 0.8828 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.184236333006993] Failed to read output from testmodel.py, exit status != 0: 10.051920359954238 10.069174947 9.099419761 Calling exit ...