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.001318/0.001318, allocations: 116.8 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.001387/0.001387, allocations: 209.6 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.542/1.542, 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 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 2.974/2.974, allocations: 0.49 GB / 0.7923 GB, free: 1.285 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.001978/0.001978, allocations: 71.89 kB / 1.15 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9925/0.9945, allocations: 176.1 MB / 1.321 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003588/0.9981, allocations: 1.95 MB / 1.323 GB, free: 6.008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002235/1, allocations: 1.294 MB / 1.325 GB, free: 5.004 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/1, allocations: 6.125 kB / 1.325 GB, free: 5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003573/1.001, allocations: 94.88 kB / 1.325 GB, free: 4.941 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003771/1.001, allocations: 145.4 kB / 1.325 GB, free: 4.84 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/1.001, allocations: 121.1 kB / 1.325 GB, free: 4.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/1.002, allocations: 233.3 kB / 1.325 GB, free: 4.609 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/1.002, allocations: 38.09 kB / 1.325 GB, free: 4.586 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/1.002, allocations: 108.8 kB / 1.325 GB, free: 4.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/1.002, allocations: 115.3 kB / 1.325 GB, free: 4.445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/1.002, allocations: 14.09 kB / 1.325 GB, free: 4.445 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/1.002, allocations: 52.83 kB / 1.326 GB, free: 4.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/1.003, allocations: 58.73 kB / 1.326 GB, free: 4.391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/1.003, allocations: 94.02 kB / 1.326 GB, free: 4.316 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/1.003, allocations: 280 kB / 1.326 GB, free: 4.117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.003, allocations: 3.984 kB / 1.326 GB, free: 4.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/1.003, allocations: 5.156 kB / 1.326 GB, free: 4.109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.573e-06/1.003, allocations: 0 / 1.326 GB, free: 4.109 MB / 1.014 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.00102/1.004, allocations: 0.5471 MB / 1.327 GB, free: 3.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.004, allocations: 13.42 kB / 1.327 GB, free: 3.586 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.05e-05/1.004, allocations: 2.844 kB / 1.327 GB, free: 3.586 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/1.004, allocations: 50.27 kB / 1.327 GB, free: 3.531 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/1.004, allocations: 28.09 kB / 1.327 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/1.005, allocations: 295.7 kB / 1.327 GB, free: 3.234 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/1.005, allocations: 8.781 kB / 1.327 GB, free: 3.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/1.005, allocations: 11.12 kB / 1.327 GB, free: 3.227 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/1.005, allocations: 126.2 kB / 1.327 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.005, allocations: 0 / 1.327 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.005, allocations: 1.062 kB / 1.327 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/1.005, allocations: 2.812 kB / 1.327 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/1.005, allocations: 88.98 kB / 1.327 GB, free: 3.098 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/1.006, allocations: 460.1 kB / 1.328 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/1.007, allocations: 117.1 kB / 1.328 GB, free: 2.609 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/1.007, allocations: 57.56 kB / 1.328 GB, free: 2.574 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/1.007, allocations: 2.719 kB / 1.328 GB, free: 2.574 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/1.007, allocations: 130.5 kB / 1.328 GB, free: 2.473 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/1.007, allocations: 0 / 1.328 GB, free: 2.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0007206/1.008, allocations: 247.2 kB / 1.328 GB, free: 2.344 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/1.008, allocations: 59.23 kB / 1.328 GB, free: 2.277 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/1.008, allocations: 339.3 kB / 1.328 GB, free: 2.062 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/1.008, allocations: 31.98 kB / 1.328 GB, free: 2.027 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/1.008, allocations: 133 kB / 1.329 GB, free: 1.902 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/1.008, allocations: 45.28 kB / 1.329 GB, free: 1.863 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.009, allocations: 65.05 kB / 1.329 GB, free: 1.816 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.009, allocations: 337.1 kB / 1.329 GB, free: 1.484 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/1.009, allocations: 83.02 kB / 1.329 GB, free: 1.449 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/1.009, allocations: 141.7 kB / 1.329 GB, free: 1.348 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/1.01, allocations: 188.3 kB / 1.329 GB, free: 1.227 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.01, allocations: 0 / 1.329 GB, free: 1.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005868/1.01, allocations: 284.5 kB / 1.33 GB, free: 1.082 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.01, allocations: 8.938 kB / 1.33 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.01, allocations: 1.031 kB / 1.33 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.01, allocations: 2.312 kB / 1.33 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/1.01, allocations: 42.72 kB / 1.33 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.01, allocations: 2.625 kB / 1.33 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/1.011, allocations: 26.53 kB / 1.33 GB, free: 1.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/1.011, allocations: 17.06 kB / 1.33 GB, free: 1.047 MB / 1.014 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.0001733/1.011, allocations: 161.2 kB / 1.33 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/1.011, allocations: 22.61 kB / 1.33 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/1.011, allocations: 21.84 kB / 1.33 GB, free: 0.875 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.011, allocations: 5.641 kB / 1.33 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.011, allocations: 0 / 1.33 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.011, allocations: 1.75 kB / 1.33 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/1.012, allocations: 0.5521 MB / 1.331 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.012, allocations: 0 / 1.331 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.395e-05/1.012, allocations: 18.52 kB / 1.331 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/1.012, allocations: 1.156 kB / 1.331 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/1.012, allocations: 5.109 kB / 1.331 GB, free: 404 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.012, allocations: 5.156 kB / 1.331 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.012, allocations: 3.938 kB / 1.331 GB, free: 396 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/1.012, allocations: 299.1 kB / 1.331 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/1.013, allocations: 101.4 kB / 1.331 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/1.013, allocations: 5.469 kB / 1.331 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/1.013, allocations: 17.03 kB / 1.331 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/1.013, allocations: 25.61 kB / 1.331 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/1.013, allocations: 8.938 kB / 1.331 GB, free: 28 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002416/1.013, allocations: 215.4 kB / 1.331 GB, free: 15.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.013, allocations: 0 / 1.331 GB, free: 15.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003265/1.013, allocations: 52.14 kB / 1.331 GB, free: 15.87 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.002277/1.016, allocations: 1.143 MB / 1.332 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005148/1.016, allocations: 174.9 kB / 1.333 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.016, allocations: 0 / 1.333 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/1.016, allocations: 64.94 kB / 1.333 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/1.017, allocations: 58.64 kB / 1.333 GB, free: 14.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/1.021, allocations: 2.614 MB / 1.335 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/1.021, allocations: 0.7558 MB / 1.336 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001293/1.021, allocations: 43.05 kB / 1.336 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/1.022, allocations: 73.59 kB / 1.336 GB, free: 12.16 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/1.022, allocations: 1.312 kB / 1.336 GB, free: 12.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/1.045, allocations: 5.594 MB / 1.342 GB, free: 9.281 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/9.802, allocations: 5.5 kB / 1.342 GB, free: 9.281 MB / 1.029 GB " [Timeout remaining time 290] (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: 16.371104418009054] Failed to read output from testmodel.py, exit status != 0: 9.9901098079863 10.013238165 9.006225809 Calling exit ...