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.001305/0.001305, allocations: 97.88 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.001677/0.001677, allocations: 216.7 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.236/3.236, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.001996/0.001996, allocations: 64.44 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3745, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004254/0.3788, allocations: 1.912 MB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3811, allocations: 1.2 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.3812, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.3816, allocations: 95.56 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.382, allocations: 147.4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.3823, allocations: 131.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.3826, allocations: 227.4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3828, allocations: 49.94 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.383, allocations: 99.61 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.3832, allocations: 115.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.3833, allocations: 12 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.3834, allocations: 55.98 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3835, allocations: 71.73 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.3836, allocations: 67.61 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.384, allocations: 282.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.384, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.384, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.384, allocations: 0 / 1.331 GB, free: 13.02 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.001079/0.3851, allocations: 492.8 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3852, allocations: 12.03 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.3852, allocations: 4.375 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.3852, allocations: 46.73 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.3853, allocations: 28.75 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.3857, allocations: 228.5 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3857, allocations: 8 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.3858, allocations: 12 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.3861, allocations: 122.3 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3861, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3861, allocations: 4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3861, allocations: 4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.3865, allocations: 91.86 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/0.3872, allocations: 395.7 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.3876, allocations: 130.5 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3877, allocations: 48.83 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3878, allocations: 0 / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.3881, allocations: 139.4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.674e-06/0.3881, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.000691/0.3888, allocations: 259.6 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.3888, allocations: 55.41 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.3893, allocations: 341.8 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3893, allocations: 33.7 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3894, allocations: 140.5 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.3895, allocations: 47.67 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3896, allocations: 53.66 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3898, allocations: 338.8 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.39, allocations: 87.94 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.3903, allocations: 129.1 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.3907, allocations: 203.9 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3907, allocations: 0 / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006227/0.3913, allocations: 281.4 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.3913, allocations: 12.03 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3914, allocations: 3.984 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3914, allocations: 4 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3916, allocations: 43.91 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3916, allocations: 0 / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.3918, allocations: 27.88 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.3918, allocations: 12 kB / 1.335 GB, free: 9.031 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.0002029/0.392, allocations: 166 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.3921, allocations: 31.84 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/0.3926, allocations: 209.7 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3926, allocations: 0 / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3926, allocations: 0 / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3926, allocations: 3.984 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009367/0.3936, allocations: 0.521 MB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3936, allocations: 4 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3937, allocations: 19.92 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.3937, allocations: 0 / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.3937, allocations: 7.938 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3937, allocations: 0 / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3937, allocations: 0 / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.3943, allocations: 317.3 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.3943, allocations: 23.8 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.3943, allocations: 12 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.3945, allocations: 19.97 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.3946, allocations: 23.84 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3946, allocations: 4 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002371/0.3948, allocations: 217.2 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3948, allocations: 0 / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003421/0.3952, allocations: 51.88 kB / 1.336 GB, free: 7.34 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 (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.002515/0.3977, allocations: 1.168 MB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005818/0.3983, allocations: 186 kB / 1.338 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3983, allocations: 0 / 1.338 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.3985, allocations: 75.88 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.3989, allocations: 58.92 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.4029, allocations: 2.638 MB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.4031, allocations: 145.2 kB / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.4032, allocations: 37.92 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.4033, allocations: 75.41 kB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4033, allocations: 4 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.4311, allocations: 6.013 MB / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.09, allocations: 9.5 kB / 1.346 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: 19.08951206400525] Failed to read output from testmodel.py, exit status != 0: 12.313854976091534 12.332313126 11.944951128 Calling exit ...