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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001815, allocations: 191.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.854/2.854, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.33 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3755, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003681/0.3792, allocations: 1.978 MB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3811, allocations: 1.111 MB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.3813, allocations: 7.938 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.3817, allocations: 79.77 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.382, allocations: 87.66 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3825, allocations: 142.9 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.3827, allocations: 195.5 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.3829, allocations: 49.58 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3831, allocations: 87.61 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3832, allocations: 103.5 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.3833, allocations: 8 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.3834, allocations: 51.97 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.3835, allocations: 55.81 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3836, allocations: 83.34 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.384, allocations: 255.4 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.384, allocations: 3.984 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.384, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.384, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 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.001052/0.3851, allocations: 0.5336 MB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3851, allocations: 16.03 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.3852, allocations: 24.66 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.3856, allocations: 295.2 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3856, allocations: 4 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.3856, allocations: 12 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.3859, allocations: 113.6 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.386, allocations: 0 / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.386, allocations: 7.938 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.386, allocations: 8 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.3863, allocations: 79.92 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.3871, allocations: 456.4 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.3875, allocations: 134.5 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3877, allocations: 56.81 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.3877, allocations: 7.984 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003147/0.388, allocations: 123.2 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.388, allocations: 4 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0007194/0.3888, allocations: 251.8 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3888, allocations: 55.41 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.3892, allocations: 326.6 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3892, allocations: 33.7 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.3893, allocations: 144.3 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.3893, allocations: 39.55 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-05/0.3894, allocations: 57.61 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3896, allocations: 338.8 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.3898, allocations: 87.94 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.39, allocations: 137.6 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.3904, allocations: 182.9 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3904, allocations: 11.88 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005527/0.391, allocations: 275.2 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.391, allocations: 9.562 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.391, allocations: 4 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3911, allocations: 4 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.3913, allocations: 39.97 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3913, allocations: 7.922 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3915, allocations: 19.98 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.3915, allocations: 15.98 kB / 1.06 GB, free: 432 kB / 0.8106 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.0001497/0.3917, allocations: 155.3 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.3917, allocations: 27.66 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.3918, allocations: 26.17 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3918, allocations: 4 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3918, allocations: 0 / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3918, allocations: 0 / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008496/0.3926, allocations: 0.5489 MB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3927, allocations: 4 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.3928, allocations: 15.98 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3928, allocations: 0 / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.3928, allocations: 7.984 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3928, allocations: 4 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3928, allocations: 0 / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.3933, allocations: 294.4 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.3934, allocations: 104.8 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.3934, allocations: 7.922 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3936, allocations: 15.98 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.3937, allocations: 19.92 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.3937, allocations: 7.984 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001975/0.3939, allocations: 209.9 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3939, allocations: 0 / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003325/0.3942, allocations: 55.92 kB / 1.061 GB, free: 14.84 MB / 0.8262 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.001015/0.3953, allocations: 416.7 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.3958, allocations: 179.8 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3958, allocations: 0 / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.396, allocations: 84.14 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.3964, allocations: 52.5 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.3972, allocations: 449.9 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3975, allocations: 0.7521 MB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.3976, allocations: 29.94 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.3977, allocations: 27.42 kB / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3977, allocations: 4 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.006288/0.404, allocations: 2.835 MB / 1.066 GB, free: 10.15 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches