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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00543/0.00543, allocations: 97.66 kB / 15.73 MB, free: 6.059 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.001137/0.001137, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3616, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003601/0.3652, allocations: 1.928 MB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3673, allocations: 1.13 MB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.3674, allocations: 0 / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.3678, allocations: 95.56 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.3682, allocations: 95.52 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.3687, allocations: 163.5 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000386/0.3691, allocations: 211.5 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.3693, allocations: 41.59 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.3695, allocations: 95.61 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.3697, allocations: 111.5 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.3697, allocations: 12 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.3699, allocations: 55.97 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.37, allocations: 59.83 kB / 1.225 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3701, allocations: 87.41 kB / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.3705, allocations: 270.8 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.931e-05/0.3705, allocations: 4 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3705, allocations: 0 / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.3705, allocations: 0 / 1.225 GB, free: 9.48 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.001026/0.3716, allocations: 0.545 MB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3716, allocations: 12.03 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.3717, allocations: 32.73 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.3721, allocations: 287.4 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3721, allocations: 15.98 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.3721, allocations: 8 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.3724, allocations: 114.5 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3725, allocations: 0 / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.3725, allocations: 7.938 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3725, allocations: 4 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.3727, allocations: 83.86 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.3735, allocations: 456.5 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.3738, allocations: 122.6 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.374, allocations: 60.7 kB / 1.227 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.374, allocations: 7.984 kB / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.3743, allocations: 119.5 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.3743, allocations: 0 / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0007125/0.375, allocations: 257.2 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3751, allocations: 59.39 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.3754, allocations: 326.6 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3755, allocations: 29.7 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3756, allocations: 136.5 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.3756, allocations: 43.69 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3757, allocations: 53.69 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3759, allocations: 338.8 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.3761, allocations: 91.95 kB / 1.228 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.3763, allocations: 130.1 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.3767, allocations: 195.1 kB / 1.228 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3767, allocations: 0 / 1.228 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005404/0.3772, allocations: 287.2 kB / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3772, allocations: 11.94 kB / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3773, allocations: 0 / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3773, allocations: 4 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3775, allocations: 39.91 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3775, allocations: 4 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.3776, allocations: 23.88 kB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3777, allocations: 12 kB / 1.229 GB, free: 5.379 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.0001518/0.3778, allocations: 158.4 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.3779, allocations: 31.78 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.3779, allocations: 26.12 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3779, allocations: 0 / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3779, allocations: 4 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3779, allocations: 3.984 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008269/0.3788, allocations: 0.5589 MB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.3788, allocations: 0 / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.3788, allocations: 11.98 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3789, allocations: 4 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3789, allocations: 4 kB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3789, allocations: 0 / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3789, allocations: 0 / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.3793, allocations: 299.2 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.3794, allocations: 104.9 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.3795, allocations: 4 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3796, allocations: 15.98 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.3797, allocations: 15.97 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3797, allocations: 8 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002319/0.38, allocations: 213.9 kB / 1.23 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.38, allocations: 4 kB / 1.23 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003864/0.3803, allocations: 43.94 kB / 1.23 GB, free: 3.789 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.00118/0.3815, allocations: 419.6 kB / 1.23 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.382, allocations: 183.7 kB / 1.231 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.382, allocations: 4.312 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.3822, allocations: 66 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.3827, allocations: 56.47 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.3835, allocations: 407.7 kB / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3838, allocations: 0.7519 MB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.3839, allocations: 25.95 kB / 1.232 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.384, allocations: 27.42 kB / 1.232 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.384, allocations: 0 / 1.232 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of Templates: time 0.007681/0.3916, allocations: 3.051 MB / 1.235 GB, free: 14.94 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches