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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002184/0.002184, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.597/1.597, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.97/2.97, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] 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=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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.973/0.9751, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00404/0.9791, allocations: 1.935 MB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.9814, allocations: 1.153 MB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.9815, allocations: 3.938 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.982, allocations: 91.62 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.9823, allocations: 103.5 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.9828, allocations: 160 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.9831, allocations: 211.5 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.9833, allocations: 41.64 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.9836, allocations: 107.5 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.9838, allocations: 103.6 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.9838, allocations: 12 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.984, allocations: 55.97 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.9841, allocations: 67.75 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.9842, allocations: 87.41 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.9847, allocations: 273.5 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9847, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9847, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.9847, allocations: 7.984 kB / 1.278 GB, free: 176 kB / 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.001332/0.9861, allocations: 0.545 MB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.9861, allocations: 8.031 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.9862, allocations: 28.75 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.9867, allocations: 291.3 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.9868, allocations: 8 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.9868, allocations: 15.98 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.9872, allocations: 113.6 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.9872, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.9872, allocations: 7.938 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.9872, allocations: 4 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.9875, allocations: 83.92 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009251/0.9884, allocations: 456.5 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.9888, allocations: 122.5 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.989, allocations: 60.75 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.989, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.9893, allocations: 127.5 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.9893, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0007156/0.99, allocations: 252.1 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.9901, allocations: 67.33 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.9905, allocations: 326.6 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.9905, allocations: 29.7 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.9907, allocations: 136.5 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.9908, allocations: 43.69 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.9909, allocations: 53.7 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.9911, allocations: 334.8 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.9914, allocations: 87.94 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.9916, allocations: 137.1 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.992, allocations: 187.4 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.992, allocations: 0 / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005889/0.9926, allocations: 277.3 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.9927, allocations: 12.16 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9927, allocations: 0 / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.9927, allocations: 4 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.9929, allocations: 39.91 kB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.9929, allocations: 4 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.9931, allocations: 31.81 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.9931, allocations: 15.98 kB / 1.282 GB, free: 12.08 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.00017/0.9933, allocations: 157.8 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.9933, allocations: 23.8 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.9938, allocations: 211.6 kB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.9938, allocations: 4 kB / 1.282 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9938, allocations: 0 / 1.282 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.9938, allocations: 0 / 1.282 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.9949, allocations: 0.5554 MB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9949, allocations: 0 / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.995, allocations: 19.98 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.995, allocations: 0 / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.995, allocations: 3.984 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.995, allocations: 0 / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.995, allocations: 7.984 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.9956, allocations: 299.1 kB / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.412e-05/0.9956, allocations: 96.97 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.9957, allocations: 8 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.9958, allocations: 15.97 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.9959, allocations: 19.92 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.9959, allocations: 8 kB / 1.283 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002329/0.9962, allocations: 209.9 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9962, allocations: 4 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003301/0.9965, allocations: 51.94 kB / 1.284 GB, free: 10.3 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.001641/0.9981, allocations: 426.9 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.9987, allocations: 173.6 kB / 1.284 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9987, allocations: 4.062 kB / 1.284 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.9989, allocations: 67.83 kB / 1.284 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.9993, allocations: 52.27 kB / 1.284 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/1, allocations: 421.8 kB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/1.001, allocations: 0.7519 MB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001007/1.001, allocations: 29.94 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/1.001, allocations: 23.44 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/1.001, allocations: 4 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of Templates: time 0.008163/1.009, allocations: 3.085 MB / 1.289 GB, free: 5.418 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.527370231691748]