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.001576/0.001576, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001689/0.001689, allocations: 220.3 kB / 22.25 MB, free: 5.258 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.781 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.154/3.154, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",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.002086/0.002086, allocations: 64.44 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3916, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004213/0.3958, allocations: 1.914 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.3983, allocations: 1.208 MB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.3985, allocations: 7.938 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.3989, allocations: 99.61 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.3993, allocations: 135.4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.3997, allocations: 123.6 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.4, allocations: 235.4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.4002, allocations: 45.94 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.4003, allocations: 103.6 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.4005, allocations: 107.6 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.4005, allocations: 20 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.4007, allocations: 59.95 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.4008, allocations: 67.7 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.931e-05/0.4009, allocations: 67.58 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.4013, allocations: 278.9 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.4013, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4013, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4013, allocations: 3.938 kB / 1.33 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.001048/0.4024, allocations: 485 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4024, allocations: 12.02 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.4025, allocations: 42.75 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.4025, allocations: 28.75 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.4029, allocations: 236.8 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.403, allocations: 8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.403, allocations: 15.98 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.4033, allocations: 114.7 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4033, allocations: 4 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.4034, allocations: 7.875 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4034, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.4037, allocations: 91.92 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.4044, allocations: 395.6 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.4048, allocations: 130.6 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.405, allocations: 56.81 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.405, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.4053, allocations: 127.5 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.4053, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.000704/0.406, allocations: 256.1 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.4061, allocations: 59.39 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.4065, allocations: 337.8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.4065, allocations: 33.7 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.4066, allocations: 144.4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.4067, allocations: 39.69 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.4068, allocations: 61.66 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4069, allocations: 342.8 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.4071, allocations: 83.94 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.4074, allocations: 133.1 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.4078, allocations: 191.4 kB / 1.333 GB, free: 9.434 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4078, allocations: 0 / 1.333 GB, free: 9.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006092/0.4084, allocations: 293.3 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4084, allocations: 4 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4084, allocations: 4 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4085, allocations: 0 / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.4087, allocations: 39.97 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4087, allocations: 7.938 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.4089, allocations: 19.94 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.445e-05/0.4089, allocations: 12 kB / 1.334 GB, free: 9.055 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.0002129/0.4091, allocations: 172.8 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.4092, allocations: 27.8 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.4097, allocations: 213.5 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4097, allocations: 4 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4097, allocations: 0 / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4097, allocations: 0 / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000907/0.4106, allocations: 0.5249 MB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4106, allocations: 0 / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-05/0.4107, allocations: 15.98 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4107, allocations: 4 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4107, allocations: 0 / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4107, allocations: 3.984 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4107, allocations: 3.938 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.4113, allocations: 316.9 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.4113, allocations: 23.8 kB / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.4114, allocations: 15.98 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.4115, allocations: 11.98 kB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.4116, allocations: 15.97 kB / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.4116, allocations: 12 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002373/0.4118, allocations: 221.1 kB / 1.335 GB, free: 7.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4118, allocations: 0 / 1.335 GB, free: 7.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003219/0.4121, allocations: 47.94 kB / 1.335 GB, free: 7.363 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.002472/0.4146, allocations: 1.187 MB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000495/0.4151, allocations: 185.1 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4151, allocations: 0 / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.4153, allocations: 71.89 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4158, allocations: 49.73 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.4195, allocations: 2.624 MB / 1.339 GB, free: 3.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.4196, allocations: 145.1 kB / 1.34 GB, free: 3.148 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.4197, allocations: 33.92 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.4199, allocations: 79.41 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/0.4199, allocations: 0 / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.4573, allocations: 6.419 MB / 1.346 GB, free: 12.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.73, allocations: 10.25 kB / 1.346 GB, free: 12.69 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] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.580421428981936]