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.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.001903/0.001903, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001978/0.001978, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.594/1.594, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.953/2.953, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.054e-06/2.054e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.604e-05/3.809e-05, allocations: 6.875 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004298/0.004336, allocations: 1.936 MB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002639/0.006975, allocations: 1.239 MB / 0.7895 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.007099, allocations: 4 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.007525, allocations: 100.1 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.008012, allocations: 136.8 kB / 0.7897 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.008356, allocations: 131.4 kB / 0.7899 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.008703, allocations: 232.2 kB / 0.7901 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.008863, allocations: 33.78 kB / 0.7901 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.009091, allocations: 132.2 kB / 0.7902 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.009269, allocations: 95.7 kB / 0.7903 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.009307, allocations: 12.69 kB / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.009464, allocations: 56.81 kB / 0.7904 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.009575, allocations: 67.75 kB / 0.7905 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.26e-05/0.009668, allocations: 55.83 kB / 0.7905 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.01011, allocations: 279.7 kB / 0.7908 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01011, allocations: 0 / 0.7908 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/0.01011, allocations: 0.7188 kB / 0.7908 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.01012, allocations: 3.938 kB / 0.7908 GB, free: 8.281 MB / 0.7448 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.001019/0.01114, allocations: 0.5825 MB / 0.7913 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.01118, allocations: 12.02 kB / 0.7914 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.048e-05/0.01127, allocations: 28.8 kB / 0.7914 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.01171, allocations: 229.1 kB / 0.7916 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.01174, allocations: 15.94 kB / 0.7916 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.01176, allocations: 7.984 kB / 0.7916 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.01204, allocations: 107.2 kB / 0.7917 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.01205, allocations: 0 / 0.7917 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.01207, allocations: 8 kB / 0.7917 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.01207, allocations: 0 / 0.7917 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.01231, allocations: 72.77 kB / 0.7918 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008487/0.01316, allocations: 447 kB / 0.7922 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.0135, allocations: 119 kB / 0.7923 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.01363, allocations: 47.7 kB / 0.7924 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.01365, allocations: 0 / 0.7924 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.01393, allocations: 128.9 kB / 0.7925 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.01393, allocations: 3.938 kB / 0.7925 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0006361/0.01456, allocations: 229.9 kB / 0.7927 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.01463, allocations: 67.34 kB / 0.7928 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.01519, allocations: 373.2 kB / 0.7932 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.01524, allocations: 33.7 kB / 0.7932 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.01542, allocations: 199.9 kB / 0.7934 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.01547, allocations: 43.69 kB / 0.7934 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.01559, allocations: 71.89 kB / 0.7935 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003265/0.01592, allocations: 0.5288 MB / 0.794 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.01609, allocations: 59.97 kB / 0.7941 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.01633, allocations: 134.1 kB / 0.7942 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.01668, allocations: 177.7 kB / 0.7944 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01668, allocations: 1.5 kB / 0.7944 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005327/0.01722, allocations: 253.4 kB / 0.7946 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01723, allocations: 4 kB / 0.7946 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01724, allocations: 0 / 0.7946 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.01726, allocations: 7.938 kB / 0.7946 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.01747, allocations: 47.91 kB / 0.7947 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.01748, allocations: 4 kB / 0.7947 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.01761, allocations: 23.33 kB / 0.7947 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.01765, allocations: 11.98 kB / 0.7947 GB, free: 4.039 MB / 0.7448 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.0001766/0.01782, allocations: 192.2 kB / 0.7949 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.01787, allocations: 23.86 kB / 0.7949 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.01833, allocations: 190 kB / 0.7951 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01834, allocations: 7.938 kB / 0.7951 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01834, allocations: 0.7812 kB / 0.7951 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01835, allocations: 0 / 0.7951 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008751/0.01922, allocations: 0.5448 MB / 0.7956 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.01923, allocations: 4.5 kB / 0.7956 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.029e-05/0.01931, allocations: 20.55 kB / 0.7957 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01931, allocations: 7.875 kB / 0.7957 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.01933, allocations: 9.391 kB / 0.7957 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01933, allocations: 0 / 0.7957 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01934, allocations: 0 / 0.7957 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.01984, allocations: 342.8 kB / 0.796 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.0199, allocations: 37.3 kB / 0.796 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.01994, allocations: 0 / 0.796 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.02007, allocations: 15.98 kB / 0.796 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.02014, allocations: 11.98 kB / 0.7961 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.02016, allocations: 9.016 kB / 0.7961 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002402/0.0204, allocations: 233.1 kB / 0.7963 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0204, allocations: 0 / 0.7963 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003176/0.02072, allocations: 52.73 kB / 0.7963 GB, free: 2.297 MB / 0.7448 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.002929/0.02365, allocations: 452.7 kB / 0.7968 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.02411, allocations: 164.8 kB / 0.7969 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02412, allocations: 0 / 0.7969 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.0243, allocations: 80.67 kB / 0.797 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.02477, allocations: 64.2 kB / 0.7971 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.02558, allocations: 392.1 kB / 0.7974 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.02575, allocations: 139.4 kB / 0.7976 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.543e-05/0.02585, allocations: 30.41 kB / 0.7976 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/0.02594, allocations: 32.48 kB / 0.7976 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/0.02594, allocations: 4 kB / 0.7976 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of Templates: time 0.01015/0.0361, allocations: 3.308 MB / 0.8009 GB, free: 13.86 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.146096964017488]