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.00132/0.00132, allocations: 108.3 kB / 19.7 MB, free: 2.145 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.001455/0.001455, allocations: 218.1 kB / 22.99 MB, free: 4.965 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.182/3.182, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002046/0.002046, allocations: 67.73 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003741/0.3392, allocations: 1.9 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3414, allocations: 1.212 MB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3415, allocations: 7.938 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.3419, allocations: 91.62 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.3423, allocations: 143.4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.3426, allocations: 131.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.3429, allocations: 227.4 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.343, allocations: 45.66 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3432, allocations: 103.6 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.3433, allocations: 115.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.3433, allocations: 12 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3435, allocations: 55.98 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.3436, allocations: 67.75 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/0.3437, allocations: 67.53 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.344, allocations: 282.8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.344, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.82e-07/0.344, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.344, allocations: 0 / 1.331 GB, free: 12.54 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.0009032/0.3449, allocations: 492.9 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.345, allocations: 8.031 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.345, allocations: 28.75 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.3454, allocations: 233 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.3454, allocations: 8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.3455, allocations: 16 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.3458, allocations: 118.9 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3458, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3458, allocations: 3.938 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3458, allocations: 4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.3461, allocations: 87.91 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007068/0.3468, allocations: 372.2 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.3472, allocations: 130.5 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.3473, allocations: 52.83 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3474, allocations: 0 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.3477, allocations: 129.7 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.3477, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007112/0.3484, allocations: 257.4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3484, allocations: 59.41 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.3488, allocations: 341.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.3488, allocations: 33.7 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.349, allocations: 132.4 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.349, allocations: 47.67 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.3491, allocations: 61.66 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3493, allocations: 334.8 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.3495, allocations: 91.94 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.3497, allocations: 129.1 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.3502, allocations: 186.7 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3502, allocations: 3.938 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000591/0.3507, allocations: 287.1 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3508, allocations: 11.88 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3508, allocations: 4 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3508, allocations: 0 / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.351, allocations: 48.12 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.351, allocations: 7.938 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.3512, allocations: 19.94 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.3512, allocations: 15.94 kB / 1.335 GB, free: 8.656 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.0001693/0.3514, allocations: 162 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.3514, allocations: 35.78 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/0.352, allocations: 217 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.352, allocations: 4 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.352, allocations: 0 / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.352, allocations: 3.984 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.3528, allocations: 495.6 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3528, allocations: 0 / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-05/0.3529, allocations: 15.98 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3529, allocations: 0 / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.3529, allocations: 15.98 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3529, allocations: 0 / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3529, allocations: 0 / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.3534, allocations: 311.5 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.3535, allocations: 27.8 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.3535, allocations: 7.984 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3537, allocations: 15.98 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.3538, allocations: 15.97 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3538, allocations: 8 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000221/0.354, allocations: 217.2 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.354, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003228/0.3543, allocations: 51.94 kB / 1.337 GB, free: 7.016 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.001696/0.356, allocations: 456.5 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004817/0.3565, allocations: 184 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3565, allocations: 4 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.3567, allocations: 67.89 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3571, allocations: 51.16 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.3579, allocations: 415.9 kB / 1.338 GB, free: 6.023 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.358, allocations: 145.3 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.3581, allocations: 33.92 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.3582, allocations: 27.44 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3582, allocations: 0 / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of Templates: time 0.007788/0.366, allocations: 3.469 MB / 1.341 GB, free: 2.379 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 -s gbode -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: 8.8000845869974]