Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00136/0.00136, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001591/0.001591, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002036/0.002036, allocations: 67.42 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3031, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003473/0.3066, allocations: 1.969 MB / 1.287 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.3088, allocations: 1.301 MB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.309, allocations: 7.938 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.3094, allocations: 99.55 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.3098, allocations: 131.4 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.3101, allocations: 135.5 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.3104, allocations: 223.4 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3106, allocations: 41.72 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.3108, allocations: 115.5 kB / 1.289 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.311, allocations: 111.6 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.311, allocations: 16 kB / 1.289 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.3111, allocations: 51.98 kB / 1.289 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.071e-05/0.3112, allocations: 63.77 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3113, allocations: 91.39 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.3117, allocations: 282.8 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3117, allocations: 0 / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3117, allocations: 3.938 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3117, allocations: 0 / 1.289 GB, free: 6.57 MB / 0.9825 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.0009276/0.3127, allocations: 484.9 kB / 1.29 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3127, allocations: 12.03 kB / 1.29 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.3128, allocations: 32.69 kB / 1.29 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.3131, allocations: 233.1 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.3132, allocations: 7.938 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3132, allocations: 12 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.3135, allocations: 117.6 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3135, allocations: 0 / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.3135, allocations: 11.94 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3135, allocations: 3.984 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.3138, allocations: 79.94 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.3146, allocations: 423.5 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.3149, allocations: 118.6 kB / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.3151, allocations: 56.77 kB / 1.291 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3151, allocations: 7.984 kB / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.3154, allocations: 131.4 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.3154, allocations: 4 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0006493/0.316, allocations: 243.6 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.3161, allocations: 59.41 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.3165, allocations: 345.7 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3165, allocations: 33.7 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.3166, allocations: 132.5 kB / 1.292 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.3167, allocations: 39.69 kB / 1.292 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.3168, allocations: 69.58 kB / 1.292 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3169, allocations: 338.8 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.3171, allocations: 79.95 kB / 1.292 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.3174, allocations: 134.3 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.3178, allocations: 196.1 kB / 1.292 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3178, allocations: 0 / 1.292 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005669/0.3183, allocations: 281.3 kB / 1.293 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3183, allocations: 6.812 kB / 1.293 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3184, allocations: 4 kB / 1.293 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3184, allocations: 4 kB / 1.293 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.3186, allocations: 43.91 kB / 1.293 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3186, allocations: 0 / 1.293 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.3187, allocations: 31.86 kB / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.3188, allocations: 12 kB / 1.293 GB, free: 2.648 MB / 0.9825 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.0001625/0.3189, allocations: 161.5 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.319, allocations: 31.8 kB / 1.293 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.3194, allocations: 211.6 kB / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3195, allocations: 0 / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3195, allocations: 0 / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3195, allocations: 4 kB / 1.293 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008387/0.3203, allocations: 0.5207 MB / 1.294 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3203, allocations: 0 / 1.294 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.3204, allocations: 15.98 kB / 1.294 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3204, allocations: 0 / 1.294 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3204, allocations: 7.984 kB / 1.294 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3204, allocations: 0 / 1.294 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3204, allocations: 4 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.3209, allocations: 302.6 kB / 1.294 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.3209, allocations: 27.86 kB / 1.294 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.321, allocations: 3.984 kB / 1.294 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3211, allocations: 15.98 kB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.3212, allocations: 19.97 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3212, allocations: 7.938 kB / 1.294 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002272/0.3214, allocations: 217.1 kB / 1.294 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3214, allocations: 0 / 1.294 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003145/0.3217, allocations: 47.94 kB / 1.294 GB, free: 0.9922 MB / 0.9825 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 (16): * Single equations (assignments): 11 * 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.001559/0.3233, allocations: 425.9 kB / 1.295 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.3238, allocations: 171.8 kB / 1.295 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3238, allocations: 320 / 1.295 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.324, allocations: 74 kB / 1.295 GB, free: 500 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3244, allocations: 44.45 kB / 1.295 GB, free: 456 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008014/0.3252, allocations: 453.6 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3256, allocations: 0.7519 MB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.3256, allocations: 31.42 kB / 1.296 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3256, allocations: 0 / 1.296 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of Templates: time 0.005998/0.3316, allocations: 3.359 MB / 1.299 GB, free: 11.8 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.510778092982946]