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.001565/0.001565, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001757/0.001757, allocations: 214.6 kB / 23.04 MB, free: 4.867 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.085/3.085, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.001943/0.001943, allocations: 71.27 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.347, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003625/0.3506, allocations: 1.914 MB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.3529, allocations: 1.196 MB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.353, allocations: 7.938 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.3534, allocations: 99.55 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.3538, allocations: 139.4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3541, allocations: 131.5 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.3544, allocations: 227.4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3546, allocations: 41.67 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.3548, allocations: 107.5 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.3549, allocations: 99.58 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.3549, allocations: 16 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3551, allocations: 63.91 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.3552, allocations: 59.77 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.804e-05/0.3552, allocations: 75.52 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.3556, allocations: 274.9 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3556, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3556, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.3556, allocations: 0 / 1.331 GB, free: 12.49 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.001021/0.3567, allocations: 492.9 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3567, allocations: 16.03 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.3568, allocations: 28.75 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.3572, allocations: 233 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3573, allocations: 8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.3573, allocations: 12 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.3576, allocations: 118.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3576, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3577, allocations: 7.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3577, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.358, allocations: 101 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007605/0.3588, allocations: 368.2 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.3591, allocations: 118.6 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.3593, allocations: 56.81 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3593, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.3596, allocations: 127.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.3596, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007353/0.3604, allocations: 263.5 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.3604, allocations: 55.41 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.3609, allocations: 341.8 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3609, allocations: 29.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.361, allocations: 144.4 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.3611, allocations: 43.69 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3612, allocations: 65.58 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3614, allocations: 338.8 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.3616, allocations: 79.95 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.3619, allocations: 133.1 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.3623, allocations: 195 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3623, allocations: 0 / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005797/0.3629, allocations: 281.4 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3629, allocations: 11.97 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3629, allocations: 0 / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3629, allocations: 4 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.3632, allocations: 47.91 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3632, allocations: 3.984 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.3633, allocations: 23.94 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.3633, allocations: 11.98 kB / 1.335 GB, free: 8.602 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.0001697/0.3635, allocations: 166 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.3636, allocations: 31.8 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.3641, allocations: 215.6 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3641, allocations: 0 / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3641, allocations: 4 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3641, allocations: 0 / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/0.3649, allocations: 0.4886 MB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3649, allocations: 4 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.365, allocations: 19.92 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.365, allocations: 0 / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.365, allocations: 11.94 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.365, allocations: 0 / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.365, allocations: 0 / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.3655, allocations: 311.6 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.3656, allocations: 31.78 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.3656, allocations: 8 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3658, allocations: 15.98 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.3658, allocations: 15.97 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3658, allocations: 7.984 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002245/0.3661, allocations: 213.2 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3661, allocations: 0 / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003283/0.3664, allocations: 51.92 kB / 1.337 GB, free: 6.957 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.001699/0.3681, allocations: 452.9 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000495/0.3686, allocations: 177.6 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3686, allocations: 0 / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.3688, allocations: 71.89 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.3692, allocations: 53.52 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.37, allocations: 464 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3702, allocations: 145.2 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.3703, allocations: 27.44 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.3703, allocations: 3.938 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of Templates: time 0.006214/0.3765, allocations: 3.447 MB / 1.341 GB, free: 2.293 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: 11.523529089055955]