Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002274/0.002274, allocations: 190.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.88 kB / 1.059 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3662, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003486/0.3697, allocations: 1.942 MB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.3717, allocations: 1.146 MB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.3718, allocations: 0 / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.3722, allocations: 95.56 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.3725, allocations: 95.58 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.3729, allocations: 163.5 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.3732, allocations: 219.4 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3734, allocations: 37.64 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3736, allocations: 99.61 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3737, allocations: 107.6 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.3738, allocations: 12 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.3739, allocations: 59.91 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.374, allocations: 63.81 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3741, allocations: 83.47 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.3744, allocations: 270.8 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3744, allocations: 4 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3744, allocations: 0 / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3745, allocations: 0 / 1.22 GB, free: 10.96 MB / 0.9669 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.0009653/0.3754, allocations: 0.5528 MB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3755, allocations: 8.031 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.3755, allocations: 24.8 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.3759, allocations: 295.3 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.376, allocations: 8 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.376, allocations: 16 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.3763, allocations: 111.7 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3763, allocations: 0 / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3763, allocations: 7.938 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3763, allocations: 4 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.3766, allocations: 83.86 kB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.3774, allocations: 456.5 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.3777, allocations: 126.6 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3779, allocations: 52.83 kB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.3779, allocations: 8 kB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.3782, allocations: 119.5 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3782, allocations: 3.938 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0006655/0.3789, allocations: 256.2 kB / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.3789, allocations: 59.41 kB / 1.223 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.3793, allocations: 330.5 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.3793, allocations: 29.7 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3794, allocations: 140.4 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.3795, allocations: 43.69 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3796, allocations: 49.7 kB / 1.223 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3797, allocations: 342.8 kB / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.3799, allocations: 91.94 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.3802, allocations: 134.5 kB / 1.224 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.3806, allocations: 191.5 kB / 1.224 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3806, allocations: 0 / 1.224 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005899/0.3812, allocations: 281.4 kB / 1.224 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3812, allocations: 9.562 kB / 1.224 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3812, allocations: 0 / 1.224 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3812, allocations: 4 kB / 1.224 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.3814, allocations: 39.91 kB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3815, allocations: 4 kB / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.3816, allocations: 27.88 kB / 1.224 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.3816, allocations: 12 kB / 1.224 GB, free: 6.859 MB / 0.9669 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.0001577/0.3818, allocations: 165.6 kB / 1.224 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.3818, allocations: 23.8 kB / 1.224 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.3823, allocations: 199.7 kB / 1.225 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3824, allocations: 4 kB / 1.225 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3824, allocations: 0 / 1.225 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3824, allocations: 3.984 kB / 1.225 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.3832, allocations: 0.549 MB / 1.225 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3832, allocations: 0 / 1.225 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.3833, allocations: 19.92 kB / 1.225 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3833, allocations: 0 / 1.225 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3833, allocations: 4 kB / 1.225 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3833, allocations: 4 kB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3833, allocations: 0 / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.3838, allocations: 299.2 kB / 1.225 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.3839, allocations: 100.9 kB / 1.225 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.384, allocations: 8 kB / 1.225 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3841, allocations: 15.97 kB / 1.226 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.3842, allocations: 15.98 kB / 1.226 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3842, allocations: 8 kB / 1.226 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002751/0.3845, allocations: 213.9 kB / 1.226 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3845, allocations: 0 / 1.226 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003776/0.3849, allocations: 55.81 kB / 1.226 GB, free: 5.09 MB / 0.9669 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.001878/0.3867, allocations: 419.5 kB / 1.226 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.3874, allocations: 181.3 kB / 1.226 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3874, allocations: 3.938 kB / 1.226 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.3876, allocations: 63.95 kB / 1.226 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.3882, allocations: 58.39 kB / 1.226 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.3895, allocations: 420 kB / 1.227 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.3901, allocations: 0.7519 MB / 1.228 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.3902, allocations: 29.95 kB / 1.228 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.3903, allocations: 35.42 kB / 1.228 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of SimCode: time 1.593e-06/0.3903, allocations: 0 / 1.228 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of Templates: time 0.007948/0.3982, allocations: 3.076 MB / 1.231 GB, free: 204 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.614254291169345]