Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001467/0.001467, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001877/0.001877, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.248/3.248, allocations: 0.49 GB / 0.7959 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_12_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.002008/0.002008, allocations: 67.66 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3634, allocations: 176.1 MB / 1.327 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003649/0.367, allocations: 1.972 MB / 1.329 GB, free: 16 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.3693, allocations: 1.301 MB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.3695, allocations: 3.938 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.3699, allocations: 91.58 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.3703, allocations: 147.4 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.3706, allocations: 127.6 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.371, allocations: 223.4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.3711, allocations: 45.94 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.3713, allocations: 115.5 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.3715, allocations: 115.5 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.3715, allocations: 12 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.3717, allocations: 51.98 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.3718, allocations: 63.81 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3719, allocations: 91.41 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.3723, allocations: 278.8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3723, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3723, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3723, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 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.0009829/0.3733, allocations: 492.9 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3733, allocations: 8.031 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.641e-05/0.3733, allocations: 4.375 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.3734, allocations: 50.69 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.3735, allocations: 28.75 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.3739, allocations: 236.5 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3739, allocations: 8 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.3739, allocations: 12 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.3742, allocations: 118.2 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3742, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.3742, allocations: 8 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3743, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.3745, allocations: 89.8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007705/0.3753, allocations: 419.5 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.3757, allocations: 122.6 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.3758, allocations: 56.81 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3758, allocations: 4.188 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.3762, allocations: 133.9 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3762, allocations: 0 / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007192/0.3769, allocations: 245.4 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.3769, allocations: 55.41 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.3773, allocations: 341.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.3774, allocations: 33.7 kB / 1.334 GB, free: 10.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3775, allocations: 136.5 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.3776, allocations: 39.69 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3777, allocations: 61.64 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3779, allocations: 342.8 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.3781, allocations: 79.95 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.3783, allocations: 141 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.3788, allocations: 187.2 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3788, allocations: 0 / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005886/0.3794, allocations: 285.2 kB / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3794, allocations: 9.875 kB / 1.335 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3794, allocations: 0 / 1.335 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3794, allocations: 4 kB / 1.335 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.3796, allocations: 47.91 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3796, allocations: 0 / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.3798, allocations: 32.03 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.3798, allocations: 8 kB / 1.335 GB, free: 9.375 MB / 1.029 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.0001676/0.38, allocations: 170 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.38, allocations: 23.86 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.3805, allocations: 203.6 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3805, allocations: 0 / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3805, allocations: 4 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3805, allocations: 3.984 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009044/0.3814, allocations: 0.5233 MB / 1.336 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3814, allocations: 4 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.3815, allocations: 11.98 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3815, allocations: 4 kB / 1.336 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3815, allocations: 4 kB / 1.336 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3815, allocations: 4 kB / 1.336 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.3815, allocations: 3.938 kB / 1.336 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.382, allocations: 291.3 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.3821, allocations: 31.8 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.3821, allocations: 4 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3823, allocations: 19.92 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.3823, allocations: 23.84 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3824, allocations: 11.98 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002258/0.3826, allocations: 209.2 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3826, allocations: 0 / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003357/0.3829, allocations: 55.86 kB / 1.336 GB, free: 7.707 MB / 1.029 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.002284/0.3852, allocations: 1.133 MB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.3857, allocations: 179.8 kB / 1.338 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3857, allocations: 320 / 1.338 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3859, allocations: 76.72 kB / 1.338 GB, free: 6.461 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3864, allocations: 54.05 kB / 1.338 GB, free: 6.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.39, allocations: 2.614 MB / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.3904, allocations: 0.7558 MB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.3905, allocations: 33.94 kB / 1.341 GB, free: 2.879 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3906, allocations: 79.34 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3907, allocations: 0 / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.4173, allocations: 5.781 MB / 1.347 GB, free: 13.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.9, allocations: 17.69 kB / 1.347 GB, free: 13.11 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.849444272986148] Failed to read output from testmodel.py, exit status != 0: 12.114377882040571 12.129959316 11.75468956 Calling exit ...