Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001723/0.001723, 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.002454/0.002454, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.508/1.508, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.223/3.223, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_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.002075/0.002075, allocations: 66.5 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004296/0.3663, allocations: 1.97 MB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3688, allocations: 1.301 MB / 1.349 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.369, allocations: 0 / 1.349 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.3694, allocations: 95.56 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.3699, allocations: 139.4 kB / 1.349 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.3703, allocations: 127.6 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.3707, allocations: 223.4 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3708, allocations: 49.92 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.3711, allocations: 111.5 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.3713, allocations: 107.5 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.3713, allocations: 16 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.3715, allocations: 55.98 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3716, allocations: 63.81 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3717, allocations: 91.34 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.3721, allocations: 278.9 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3721, allocations: 0 / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3721, allocations: 0 / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.3722, allocations: 0 / 1.35 GB, free: 11.84 MB / 1.045 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.001085/0.3732, allocations: 0.4891 MB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3733, allocations: 8.031 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.143e-05/0.3733, allocations: 4.375 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.3733, allocations: 38.75 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.3734, allocations: 32.73 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.3739, allocations: 232.5 kB / 1.351 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3739, allocations: 12 kB / 1.351 GB, free: 10.97 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.3739, allocations: 8 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.3742, allocations: 125.5 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3743, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3743, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3743, allocations: 4 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.3746, allocations: 87.92 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.3754, allocations: 427.5 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.3758, allocations: 118.6 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.376, allocations: 56.8 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.376, allocations: 192 / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.3763, allocations: 131.1 kB / 1.352 GB, free: 9.957 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.3763, allocations: 4 kB / 1.352 GB, free: 9.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0006886/0.377, allocations: 243.5 kB / 1.352 GB, free: 9.711 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.377, allocations: 55.39 kB / 1.352 GB, free: 9.645 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.3774, allocations: 341.8 kB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.3775, allocations: 29.7 kB / 1.352 GB, free: 9.266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3776, allocations: 140.5 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.3776, allocations: 51.66 kB / 1.352 GB, free: 9.074 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3777, allocations: 61.66 kB / 1.352 GB, free: 9.008 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3779, allocations: 330.8 kB / 1.353 GB, free: 8.676 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.3781, allocations: 87.94 kB / 1.353 GB, free: 8.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.3784, allocations: 129.1 kB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.3788, allocations: 195 kB / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3788, allocations: 4 kB / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006133/0.3794, allocations: 279.7 kB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3794, allocations: 8 kB / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3794, allocations: 0 / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3795, allocations: 4 kB / 1.353 GB, free: 7.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.3797, allocations: 39.91 kB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3797, allocations: 8.156 kB / 1.353 GB, free: 7.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.3799, allocations: 27.88 kB / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.3799, allocations: 11.98 kB / 1.353 GB, free: 7.859 MB / 1.045 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.0001853/0.3801, allocations: 169.4 kB / 1.354 GB, free: 7.684 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.3801, allocations: 19.86 kB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.3807, allocations: 215.5 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3807, allocations: 7.984 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3807, allocations: 0 / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3807, allocations: 0 / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008964/0.3816, allocations: 0.5168 MB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3816, allocations: 4 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.3817, allocations: 11.98 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3817, allocations: 4 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3817, allocations: 8 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3817, allocations: 0 / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3817, allocations: 7.922 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.3822, allocations: 293.2 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3823, allocations: 27.8 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.3823, allocations: 12 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.3825, allocations: 19.97 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.3825, allocations: 15.92 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3826, allocations: 11.92 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002475/0.3828, allocations: 209.2 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3828, allocations: 0 / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003446/0.3831, allocations: 55.88 kB / 1.355 GB, free: 6.191 MB / 1.045 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.002387/0.3855, allocations: 1.14 MB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005203/0.3861, allocations: 179.8 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3861, allocations: 3.938 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.3862, allocations: 67.89 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.3867, allocations: 50.62 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.3907, allocations: 2.612 MB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.3911, allocations: 0.7518 MB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.3912, allocations: 37.94 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.3914, allocations: 75.41 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/0.3914, allocations: 3.938 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.4206, allocations: 5.79 MB / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 0 / 1.365 GB, free: 11.6 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.797716127999593] Failed to read output from testmodel.py, exit status != 0: 12.081397650996223 12.106178094 11.729183966 Calling exit ...