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.001309/0.001309, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001624/0.001624, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.788/2.788, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 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.002085/0.002085, allocations: 67.11 kB / 1.118 GB, free: 39.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 169.9 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003944/0.3533, allocations: 1.916 MB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002607/0.3559, allocations: 1.202 MB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.3561, allocations: 7.938 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.3566, allocations: 95.56 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004466/0.3571, allocations: 143.4 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.3574, allocations: 127.6 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.3578, allocations: 231.4 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.3579, allocations: 29.8 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.3581, allocations: 111.5 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.3583, allocations: 107.6 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.3583, allocations: 16 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3585, allocations: 59.97 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3586, allocations: 67.75 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.391e-05/0.3587, allocations: 63.55 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.3591, allocations: 284.2 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3591, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3591, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.3591, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 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.001048/0.3601, allocations: 492.8 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3602, allocations: 12.03 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.161e-05/0.3602, allocations: 8.375 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.3602, allocations: 38.73 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.3603, allocations: 28.75 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.3607, allocations: 232.6 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3607, allocations: 8 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.3608, allocations: 8 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.3611, allocations: 135.9 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3611, allocations: 0 / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.3611, allocations: 4 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3611, allocations: 8 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.3615, allocations: 83.92 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.3623, allocations: 399.6 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.3627, allocations: 118.6 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3628, allocations: 56.83 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3628, allocations: 7.984 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.3631, allocations: 131.3 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3632, allocations: 0 / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0007877/0.3639, allocations: 249.3 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.364, allocations: 55.41 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.3645, allocations: 353.8 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.3645, allocations: 33.64 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3646, allocations: 132.5 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.3647, allocations: 47.67 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3648, allocations: 61.64 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3649, allocations: 330.8 kB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.3652, allocations: 87.94 kB / 1.291 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.3654, allocations: 138.8 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.3658, allocations: 191.4 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3658, allocations: 0 / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005831/0.3664, allocations: 293.2 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3665, allocations: 4 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3665, allocations: 4 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3665, allocations: 0 / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3667, allocations: 47.91 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3667, allocations: 4 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3669, allocations: 23.88 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.3669, allocations: 8 kB / 1.292 GB, free: 2.234 MB / 0.9825 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.0001841/0.3671, allocations: 173.6 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.3671, allocations: 27.84 kB / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.3677, allocations: 213.8 kB / 1.292 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3677, allocations: 4 kB / 1.292 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.3677, allocations: 3.984 kB / 1.292 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3677, allocations: 0 / 1.292 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008833/0.3686, allocations: 0.5171 MB / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3686, allocations: 0 / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.3687, allocations: 15.98 kB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3687, allocations: 4 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3687, allocations: 4 kB / 1.293 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3687, allocations: 0 / 1.293 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3687, allocations: 3.984 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.3692, allocations: 326.1 kB / 1.293 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.3693, allocations: 27.8 kB / 1.293 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.3693, allocations: 4 kB / 1.293 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3695, allocations: 19.97 kB / 1.293 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.3695, allocations: 19.91 kB / 1.293 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3695, allocations: 8 kB / 1.293 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002339/0.3698, allocations: 213.2 kB / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3698, allocations: 0 / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003378/0.3701, allocations: 51.94 kB / 1.294 GB, free: 0.5469 MB / 0.9825 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 (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.002559/0.3727, allocations: 1.183 MB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.3733, allocations: 175.7 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3733, allocations: 4 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.3735, allocations: 76.2 kB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.374, allocations: 55.98 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.378, allocations: 2.641 MB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.3782, allocations: 141.2 kB / 1.298 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.3783, allocations: 37.92 kB / 1.298 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.3785, allocations: 79.41 kB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/0.3785, allocations: 0 / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.4064, allocations: 6.003 MB / 1.304 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.05, allocations: 14.45 kB / 1.304 GB, free: 6.309 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.889536873903126] Failed to read output from testmodel.py, exit status != 0: 12.806577221956104 12.301957689 11.938273587 Calling exit ...