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.001849/0.001849, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002636/0.002636, allocations: 211 kB / 23 MB, free: 4.934 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.339/3.339, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [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.002275/0.002275, allocations: 74.42 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3894, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003948/0.3933, allocations: 1.904 MB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.3958, allocations: 1.204 MB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.396, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.3964, allocations: 103.5 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.3969, allocations: 139.4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.3973, allocations: 127.6 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.3977, allocations: 231.4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.3979, allocations: 45.66 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.398, allocations: 99.62 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.3982, allocations: 115.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.3982, allocations: 12 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.3984, allocations: 63.95 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3985, allocations: 59.83 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3986, allocations: 71.52 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.3991, allocations: 274.9 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3991, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3991, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3991, allocations: 4 kB / 1.331 GB, free: 12.52 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.001083/0.4002, allocations: 488.8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.4002, allocations: 12.03 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.4003, allocations: 28.73 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.4007, allocations: 233.1 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4007, allocations: 8 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.4008, allocations: 12 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.4011, allocations: 122.3 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4011, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.4011, allocations: 11.94 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4011, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.4014, allocations: 87.92 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.4022, allocations: 368.2 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.4026, allocations: 130.6 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.4027, allocations: 48.83 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4027, allocations: 7.938 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.4031, allocations: 135.2 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.4031, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007377/0.4038, allocations: 255.6 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4038, allocations: 55.41 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.4042, allocations: 341.8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.4043, allocations: 29.7 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4044, allocations: 144.4 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.4045, allocations: 39.7 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4046, allocations: 61.64 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4047, allocations: 334.8 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.4049, allocations: 91.94 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.4052, allocations: 133 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.4056, allocations: 188.2 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4056, allocations: 0 / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005831/0.4062, allocations: 285.3 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.4062, allocations: 7.938 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4062, allocations: 3.984 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.4062, allocations: 4 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4065, allocations: 39.92 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4065, allocations: 8.078 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.4066, allocations: 27.94 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.4067, allocations: 12 kB / 1.335 GB, free: 8.637 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.0002024/0.4069, allocations: 166 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.4069, allocations: 27.8 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.4075, allocations: 217.1 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4075, allocations: 0 / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4075, allocations: 7.984 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.4075, allocations: 23.86 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.4076, allocations: 8 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4077, allocations: 11.98 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.4078, allocations: 15.97 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005523/0.4083, allocations: 282.9 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005529/0.4089, allocations: 390.3 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001849/0.4091, allocations: 63.94 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002257/0.4093, allocations: 213.2 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of Backend: time 3.41e-07/0.4093, allocations: 0 / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.4117, allocations: 0.5535 MB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of SimCode: time 0.001175/0.4128, allocations: 0.8594 MB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of Templates: time 0.00853/0.4214, allocations: 3.657 MB / 1.341 GB, free: 2.316 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] 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: 9.540066225999908]