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.00133/0.00133, 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.001423/0.001423, 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.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.03/3.03, allocations: 0.5003 GB / 0.8026 GB, free: 6.68 MB / 0.6387 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.001984/0.001984, allocations: 63.91 kB / 1.165 GB, free: 448 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 179 MB / 1.34 GB, free: 16.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003574/1.01, allocations: 1.958 MB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001978/1.012, allocations: 1.285 MB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/1.012, allocations: 5.219 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/1.012, allocations: 98.7 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004446/1.013, allocations: 143.9 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/1.013, allocations: 126 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003518/1.013, allocations: 223.4 kB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/1.014, allocations: 34 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/1.014, allocations: 111.3 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/1.014, allocations: 108.8 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/1.014, allocations: 13.09 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/1.014, allocations: 63.5 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.725e-05/1.014, allocations: 67.39 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/1.014, allocations: 88.98 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004732/1.015, allocations: 280.7 kB / 1.345 GB, free: 13.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/1.015, allocations: 1.094 kB / 1.345 GB, free: 13.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/1.015, allocations: 0 / 1.345 GB, free: 13.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.298e-06/1.015, allocations: 0.6562 kB / 1.345 GB, free: 13.32 MB / 1.061 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/1.016, allocations: 0.552 MB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.016, allocations: 15.42 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.576e-05/1.016, allocations: 1.906 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/1.016, allocations: 39.86 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/1.016, allocations: 29.66 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/1.016, allocations: 296.3 kB / 1.346 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/1.017, allocations: 8.844 kB / 1.346 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/1.017, allocations: 13.05 kB / 1.346 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/1.017, allocations: 118.4 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/1.017, allocations: 4 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/1.017, allocations: 2.141 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.017, allocations: 2.344 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/1.017, allocations: 85.95 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/1.018, allocations: 456.3 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/1.018, allocations: 123.8 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/1.018, allocations: 51.73 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/1.018, allocations: 5.5 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/1.019, allocations: 129.6 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/1.019, allocations: 0 / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0006494/1.019, allocations: 252 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.019, allocations: 55.03 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/1.02, allocations: 337.9 kB / 1.347 GB, free: 11.58 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/1.02, allocations: 36.7 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.02, allocations: 142.6 kB / 1.347 GB, free: 11.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/1.02, allocations: 37.97 kB / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/1.02, allocations: 63.83 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/1.02, allocations: 333.5 kB / 1.348 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/1.02, allocations: 85 kB / 1.348 GB, free: 11.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/1.021, allocations: 132 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/1.021, allocations: 192.7 kB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.021, allocations: 0 / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005559/1.022, allocations: 278.2 kB / 1.348 GB, free: 10.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.022, allocations: 10.5 kB / 1.348 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.022, allocations: 1.312 kB / 1.348 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.022, allocations: 6.25 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/1.022, allocations: 38.14 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/1.022, allocations: 7.375 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/1.022, allocations: 31.05 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/1.022, allocations: 12.56 kB / 1.348 GB, free: 10.68 MB / 1.061 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.0001182/1.022, allocations: 162.7 kB / 1.349 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/1.022, allocations: 23.23 kB / 1.349 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/1.022, allocations: 29.81 kB / 1.349 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.022, allocations: 2.312 kB / 1.349 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.022, allocations: 0 / 1.349 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.022, allocations: 1.688 kB / 1.349 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/1.023, allocations: 0.553 MB / 1.349 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.023, allocations: 1.094 kB / 1.349 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/1.023, allocations: 17.39 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.023, allocations: 5.469 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/1.023, allocations: 8.109 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/1.023, allocations: 0 / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.023, allocations: 5 kB / 1.349 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/1.024, allocations: 291.2 kB / 1.35 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/1.024, allocations: 103 kB / 1.35 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/1.024, allocations: 10.88 kB / 1.35 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.024, allocations: 13.11 kB / 1.35 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/1.024, allocations: 23.92 kB / 1.35 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/1.024, allocations: 10.36 kB / 1.35 GB, free: 9.785 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002039/1.024, allocations: 213.6 kB / 1.35 GB, free: 9.672 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.024, allocations: 0 / 1.35 GB, free: 9.672 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003337/1.024, allocations: 50.38 kB / 1.35 GB, free: 9.66 MB / 1.061 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.001956/1.026, allocations: 1.145 MB / 1.351 GB, free: 8.836 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004819/1.027, allocations: 174.4 kB / 1.351 GB, free: 8.793 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.027, allocations: 1.219 kB / 1.351 GB, free: 8.793 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/1.027, allocations: 69.58 kB / 1.351 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/1.027, allocations: 48.73 kB / 1.351 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/1.03, allocations: 2.624 MB / 1.354 GB, free: 7.035 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/1.031, allocations: 0.7512 MB / 1.355 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001241/1.031, allocations: 37.78 kB / 1.355 GB, free: 6.324 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.031, allocations: 75.09 kB / 1.355 GB, free: 6.273 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/1.031, allocations: 0 / 1.355 GB, free: 6.273 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/1.054, allocations: 5.605 MB / 1.36 GB, free: 5.379 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/9.746, allocations: 11.23 kB / 1.36 GB, free: 5.371 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.591864520974923] Failed to read output from testmodel.py, exit status != 0: 9.939629727974534 9.961259873 8.942293844 Calling exit ...