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.001842/0.001842, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002375/0.002375, allocations: 217 kB / 23.03 MB, free: 4.922 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.38/3.38, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.00197/0.00197, allocations: 69.94 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003407/0.3792, allocations: 1.911 MB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3814, allocations: 1.196 MB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3815, allocations: 7.938 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.3819, allocations: 95.56 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.3822, allocations: 139.4 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.3825, allocations: 127.6 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.3828, allocations: 231.4 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.383, allocations: 49.94 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.3831, allocations: 107.5 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.3833, allocations: 107.6 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3833, allocations: 16 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3835, allocations: 47.98 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3836, allocations: 79.62 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.674e-05/0.3836, allocations: 67.59 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.384, allocations: 282.8 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.384, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.384, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.384, allocations: 0 / 1.35 GB, free: 11.48 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.0009244/0.385, allocations: 496.8 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.385, allocations: 11.97 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.554e-05/0.385, allocations: 4.375 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.3851, allocations: 42.73 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.3851, allocations: 28.8 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.3855, allocations: 232.5 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3855, allocations: 8 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.3856, allocations: 12 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.3859, allocations: 113.5 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3859, allocations: 0 / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3859, allocations: 8 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3859, allocations: 0 / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.3862, allocations: 93.61 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.3869, allocations: 403.5 kB / 1.351 GB, free: 9.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3872, allocations: 130.6 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3874, allocations: 48.83 kB / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3874, allocations: 4 kB / 1.351 GB, free: 9.754 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/0.3877, allocations: 131.5 kB / 1.351 GB, free: 9.613 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.3877, allocations: 0 / 1.351 GB, free: 9.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0006847/0.3884, allocations: 257.3 kB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3884, allocations: 55.41 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.3888, allocations: 341.8 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.3889, allocations: 37.69 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.389, allocations: 140.4 kB / 1.352 GB, free: 8.762 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.389, allocations: 43.67 kB / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.802e-05/0.3891, allocations: 61.69 kB / 1.352 GB, free: 8.652 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3893, allocations: 338.8 kB / 1.353 GB, free: 8.312 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.3895, allocations: 83.95 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.3897, allocations: 133.1 kB / 1.353 GB, free: 8.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3901, allocations: 190.1 kB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3901, allocations: 0 / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005874/0.3907, allocations: 282.4 kB / 1.353 GB, free: 7.598 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3907, allocations: 10.03 kB / 1.353 GB, free: 7.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3907, allocations: 7.938 kB / 1.353 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3908, allocations: 0 / 1.353 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.391, allocations: 43.91 kB / 1.353 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.391, allocations: 7.938 kB / 1.353 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.3911, allocations: 23.88 kB / 1.353 GB, free: 7.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.3912, allocations: 15.98 kB / 1.353 GB, free: 7.492 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.0001584/0.3913, allocations: 161.5 kB / 1.353 GB, free: 7.324 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.3914, allocations: 35.75 kB / 1.353 GB, free: 7.289 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.3919, allocations: 211.6 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3919, allocations: 4 kB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3919, allocations: 0 / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3919, allocations: 0 / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008776/0.3928, allocations: 0.5267 MB / 1.354 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3928, allocations: 7.984 kB / 1.354 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.3929, allocations: 11.98 kB / 1.354 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3929, allocations: 4 kB / 1.354 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3929, allocations: 0 / 1.354 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3929, allocations: 0 / 1.354 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3929, allocations: 0 / 1.354 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.3934, allocations: 311.6 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.3934, allocations: 31.78 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.3935, allocations: 7.938 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.3936, allocations: 15.98 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.3937, allocations: 27.91 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.3937, allocations: 11.98 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002263/0.3939, allocations: 209.2 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3939, allocations: 0 / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003338/0.3943, allocations: 59.88 kB / 1.355 GB, free: 5.797 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 (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.00235/0.3966, allocations: 1.172 MB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.3971, allocations: 175.8 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3971, allocations: 0 / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3973, allocations: 67.95 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.3978, allocations: 65.34 kB / 1.356 GB, free: 4.492 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.4015, allocations: 2.63 MB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.4016, allocations: 149.2 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.4017, allocations: 37.92 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.4019, allocations: 75.41 kB / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.4019, allocations: 4 kB / 1.359 GB, free: 1.473 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.43, allocations: 6.008 MB / 1.365 GB, free: 11.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.28, allocations: 9.359 kB / 1.365 GB, free: 11.55 MB / 1.061 GB " [Timeout remaining time 287] (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: 19.55641816498246] Failed to read output from testmodel.py, exit status != 0: 12.503792160074227 12.526095495 12.13798316 Calling exit ...