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.001068/0.001068, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.002835, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001114/0.001114, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002619, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08893/1.105, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.427/2.427, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.236/2.663, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: 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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.651e-05, allocations: 4.703 kB / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002237/0.002253, allocations: 2.006 MB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.003773, allocations: 1.274 MB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.003861, allocations: 7.938 kB / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.004086, allocations: 95.5 kB / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.004291, allocations: 151.2 kB / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.004478, allocations: 135.4 kB / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.004698, allocations: 219.4 kB / 0.8227 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.004814, allocations: 34.44 kB / 0.8228 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.005292, allocations: 222.3 kB / 0.823 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.005397, allocations: 75.78 kB / 0.823 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.005419, allocations: 12 kB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.005524, allocations: 55.91 kB / 0.8231 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.005584, allocations: 55.84 kB / 0.8232 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.005629, allocations: 43.88 kB / 0.8232 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.005868, allocations: 187.1 kB / 0.8234 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.57e-05/0.005884, allocations: 0 / 0.8234 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005885, allocations: 0 / 0.8234 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.005895, allocations: 0 / 0.8234 GB, free: 13.91 MB / 0.8073 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.0005613/0.006456, allocations: 487.2 kB / 0.8238 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.006489, allocations: 8.031 kB / 0.8238 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.006535, allocations: 24.91 kB / 0.8239 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.006737, allocations: 216.1 kB / 0.8241 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.006756, allocations: 15.98 kB / 0.8241 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.006774, allocations: 12 kB / 0.8241 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.006933, allocations: 103.8 kB / 0.8242 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.006941, allocations: 0 / 0.8242 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006952, allocations: 3.938 kB / 0.8242 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006958, allocations: 4 kB / 0.8242 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.007003, allocations: 27.98 kB / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.007326, allocations: 241.7 kB / 0.8245 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.007454, allocations: 124 kB / 0.8246 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.007483, allocations: 24.83 kB / 0.8246 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.007497, allocations: 4 kB / 0.8246 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.00761, allocations: 102.1 kB / 0.8247 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.007611, allocations: 0 / 0.8247 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001512/0.007762, allocations: 108.7 kB / 0.8248 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.007795, allocations: 51.59 kB / 0.8249 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.007954, allocations: 263.6 kB / 0.8251 GB, free: 12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.007971, allocations: 37.7 kB / 0.8251 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.008017, allocations: 117 kB / 0.8253 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.008049, allocations: 47.61 kB / 0.8253 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.008105, allocations: 53.67 kB / 0.8254 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.008191, allocations: 342.8 kB / 0.8257 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.008228, allocations: 22.81 kB / 0.8257 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.516e-05/0.008293, allocations: 73.11 kB / 0.8258 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.008399, allocations: 120.9 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.008402, allocations: 7.938 kB / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001457/0.008548, allocations: 136.3 kB / 0.826 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.008561, allocations: 11.98 kB / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.008565, allocations: 0 / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.008577, allocations: 4 kB / 0.826 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.008709, allocations: 48.06 kB / 0.8261 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.008715, allocations: 11.98 kB / 0.8261 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.008772, allocations: 19.89 kB / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.008789, allocations: 11.98 kB / 0.8261 GB, free: 10.88 MB / 0.8073 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 9.164e-05/0.008881, allocations: 132.5 kB / 0.8263 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.008901, allocations: 15.98 kB / 0.8263 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.009033, allocations: 109.8 kB / 0.8264 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.009035, allocations: 0 / 0.8264 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.009037, allocations: 0 / 0.8264 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.00904, allocations: 4 kB / 0.8264 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.009312, allocations: 362.6 kB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.009314, allocations: 0 / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.009361, allocations: 15.98 kB / 0.8267 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.009383, allocations: 27.75 kB / 0.8268 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009386, allocations: 7.922 kB / 0.8268 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.009396, allocations: 11.94 kB / 0.8268 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009398, allocations: 0 / 0.8268 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009398, allocations: 0 / 0.8268 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.00952, allocations: 241.2 kB / 0.827 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.009538, allocations: 4 kB / 0.827 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.009594, allocations: 19.92 kB / 0.827 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.009671, allocations: 19.91 kB / 0.8271 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.00968, allocations: 8 kB / 0.8271 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.009743, allocations: 78.77 kB / 0.8271 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009743, allocations: 0 / 0.8271 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001703/0.009913, allocations: 51.94 kB / 0.8272 GB, free: 9.734 MB / 0.8073 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.001264/0.01118, allocations: 0.5683 MB / 0.8277 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01131, allocations: 100.6 kB / 0.8278 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.01131, allocations: 4 kB / 0.8278 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/0.01137, allocations: 52 kB / 0.8279 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.01166, allocations: 295.8 kB / 0.8282 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.0123, allocations: 386.6 kB / 0.8285 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.774e-05/0.01235, allocations: 88.31 kB / 0.8286 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.736e-05/0.0124, allocations: 29.92 kB / 0.8287 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.0125, allocations: 87.36 kB / 0.8287 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.0125, allocations: 0 / 0.8287 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of Templates: time 0.005059/0.01756, allocations: 3.555 MB / 0.8322 GB, free: 4.824 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.360468063503504]