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.001362/0.001362, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001543/0.001543, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.539/1.539, allocations: 230.6 MB / 256 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.357/3.357, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_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.003203/0.003203, allocations: 67.56 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.396, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003436/0.3995, allocations: 1.897 MB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.4017, allocations: 1.201 MB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.4018, allocations: 3.938 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.4022, allocations: 95.56 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.4026, allocations: 143.4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.403, allocations: 131.6 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.4033, allocations: 231.4 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.4035, allocations: 45.94 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.4036, allocations: 99.62 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.4038, allocations: 103.5 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.4038, allocations: 12 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.404, allocations: 59.89 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.4041, allocations: 59.83 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.438e-05/0.4042, allocations: 75.53 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.4045, allocations: 278.8 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4045, allocations: 3.938 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4045, allocations: 0 / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.4046, allocations: 0 / 1.368 GB, free: 9.625 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.0009545/0.4055, allocations: 495.1 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4056, allocations: 12.03 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.4056, allocations: 38.73 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.4057, allocations: 28.73 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.4061, allocations: 236.9 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.4061, allocations: 8 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.4061, allocations: 15.98 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.4064, allocations: 113.6 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4065, allocations: 3.984 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.4065, allocations: 11.88 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.4065, allocations: 0 / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.4068, allocations: 91.92 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007996/0.4076, allocations: 407.6 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.4079, allocations: 118.6 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.4081, allocations: 60.75 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.4081, allocations: 4 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.4084, allocations: 129.8 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.4084, allocations: 0 / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0006889/0.4091, allocations: 253.3 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4092, allocations: 59.39 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.4095, allocations: 333.9 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.4096, allocations: 29.7 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4097, allocations: 148.4 kB / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.4097, allocations: 47.69 kB / 1.37 GB, free: 6.863 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/0.4098, allocations: 49.7 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.41, allocations: 338.8 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.4102, allocations: 87.94 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.4105, allocations: 137.5 kB / 1.371 GB, free: 6.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.4109, allocations: 194.5 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4109, allocations: 0 / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005954/0.4115, allocations: 287.5 kB / 1.371 GB, free: 5.738 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4115, allocations: 8 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4115, allocations: 4.156 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4115, allocations: 4 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.4118, allocations: 47.91 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4118, allocations: 0 / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4119, allocations: 19.98 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.4119, allocations: 8 kB / 1.371 GB, free: 5.648 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.0001611/0.4121, allocations: 161.6 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.4121, allocations: 35.73 kB / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005202/0.4127, allocations: 219.6 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4127, allocations: 3.984 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4127, allocations: 3.938 kB / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4127, allocations: 0 / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000896/0.4136, allocations: 0.5152 MB / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4136, allocations: 0 / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/0.4137, allocations: 23.92 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4137, allocations: 0 / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.4137, allocations: 8 kB / 1.372 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4137, allocations: 0 / 1.372 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4137, allocations: 3.984 kB / 1.372 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.4142, allocations: 307.6 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.4143, allocations: 27.78 kB / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.4143, allocations: 8 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.4145, allocations: 23.97 kB / 1.373 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.4146, allocations: 15.97 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.4146, allocations: 7.938 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002432/0.4148, allocations: 221.1 kB / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4148, allocations: 0 / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003293/0.4151, allocations: 51.89 kB / 1.373 GB, free: 3.953 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 (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.002467/0.4176, allocations: 1.181 MB / 1.374 GB, free: 2.938 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005244/0.4181, allocations: 183.8 kB / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4181, allocations: 0 / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.4183, allocations: 67.89 kB / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.4188, allocations: 56.16 kB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.4225, allocations: 2.63 MB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.4226, allocations: 141.2 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.4227, allocations: 37.92 kB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.4229, allocations: 79.41 kB / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of SimCode: time 8.91e-07/0.4229, allocations: 0 / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0391/0.462, allocations: 6.369 MB / 1.383 GB, free: 9.344 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.92, allocations: 13.56 kB / 1.383 GB, free: 9.336 MB / 1.076 GB " [Timeout remaining time 288] (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] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.022966479882598]