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.001406/0.001406, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001857/0.001857, allocations: 213.6 kB / 22.99 MB, free: 4.957 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.602/1.602, 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.48/3.48, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002114/0.002114, allocations: 66.22 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.421, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004095/0.4251, allocations: 1.908 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.4276, allocations: 1.2 MB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.4277, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.4281, allocations: 103.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.4285, allocations: 147.4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.4288, allocations: 123.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.4291, allocations: 227.4 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.4293, allocations: 49.67 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.4295, allocations: 99.61 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.4296, allocations: 119.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.4297, allocations: 12 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.4298, allocations: 59.95 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.4299, allocations: 59.83 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.43, allocations: 75.47 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.4305, allocations: 274.9 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4305, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4306, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.4306, allocations: 0 / 1.331 GB, free: 12.55 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.001056/0.4316, allocations: 492.8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4317, allocations: 8.031 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.4317, allocations: 32.75 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.4322, allocations: 233.1 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4322, allocations: 8 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.4322, allocations: 19.92 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.4325, allocations: 115.3 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4325, allocations: 4 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.4326, allocations: 7.938 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.4326, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.4329, allocations: 87.92 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.4336, allocations: 372.2 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.4339, allocations: 122.6 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.4341, allocations: 56.77 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.4342, allocations: 7.938 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.4345, allocations: 125.4 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4345, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007807/0.4353, allocations: 257.5 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.4353, allocations: 59.41 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.4357, allocations: 337.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.4357, allocations: 33.64 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.4359, allocations: 140.4 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.4359, allocations: 43.69 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4361, allocations: 61.64 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4362, allocations: 334.8 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.4365, allocations: 87.89 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.4367, allocations: 137.1 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.4371, allocations: 185.6 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4371, allocations: 0 / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005966/0.4377, allocations: 283.1 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4378, allocations: 14.12 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4378, allocations: 0 / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4378, allocations: 4 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.438, allocations: 47.91 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.438, allocations: 0 / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.4382, allocations: 24.09 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.4382, allocations: 15.98 kB / 1.335 GB, free: 8.664 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.0001867/0.4384, allocations: 166 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.4384, allocations: 31.78 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005446/0.439, allocations: 215.5 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.439, allocations: 3.938 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.439, allocations: 0 / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.439, allocations: 0 / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009218/0.4399, allocations: 0.4942 MB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4399, allocations: 0 / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.44, allocations: 19.98 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.44, allocations: 0 / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.44, allocations: 4 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4401, allocations: 4 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4401, allocations: 0 / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.4406, allocations: 320.8 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.4407, allocations: 27.8 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.4407, allocations: 4 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.4409, allocations: 15.97 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.4409, allocations: 15.98 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4409, allocations: 7.984 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002343/0.4412, allocations: 213.2 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4412, allocations: 0 / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003435/0.4415, allocations: 51.92 kB / 1.337 GB, free: 7.02 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.001756/0.4433, allocations: 457.7 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000543/0.4438, allocations: 183.7 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4438, allocations: 0 / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.444, allocations: 70.39 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.4444, allocations: 57.12 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.0008422/0.4453, allocations: 419.9 kB / 1.338 GB, free: 6.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.4455, allocations: 141.2 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.4456, allocations: 33.94 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.4457, allocations: 27.42 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4457, allocations: 0 / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of Templates: time 0.008286/0.454, allocations: 3.477 MB / 1.341 GB, free: 2.367 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 cvode -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.828140056997654]