Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001168/0.001168, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001874/0.003041, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001184/0.001184, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002792, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.047/1.047, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.148, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.918/1.918, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5559/2.474, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.665e-05, allocations: 5.469 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002276/0.002293, allocations: 2 MB / 0.7316 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003686, allocations: 1.275 MB / 0.7329 GB, free: 1.141 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.975e-05/0.003775, allocations: 3.938 kB / 0.7329 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.004003, allocations: 97.42 kB / 0.733 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.004239, allocations: 148.8 kB / 0.7331 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.004456, allocations: 139.4 kB / 0.7332 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.004682, allocations: 226.7 kB / 0.7335 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.004798, allocations: 30.44 kB / 0.7335 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/0.00527, allocations: 214.5 kB / 0.7337 GB, free: 344 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.005379, allocations: 79.78 kB / 0.7338 GB, free: 264 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.005404, allocations: 16.5 kB / 0.7338 GB, free: 248 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.00551, allocations: 56.66 kB / 0.7338 GB, free: 192 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.005572, allocations: 55.78 kB / 0.7339 GB, free: 136 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.005616, allocations: 41.28 kB / 0.7339 GB, free: 96 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.005874, allocations: 183.2 kB / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.005886, allocations: 4 kB / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005887, allocations: 0 / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.005901, allocations: 0.5312 kB / 0.7341 GB, free: 15.91 MB / 0.7136 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.0005998/0.0065, allocations: 480.7 kB / 0.7346 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.006536, allocations: 8.031 kB / 0.7346 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.006587, allocations: 24.91 kB / 0.7346 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.006803, allocations: 212.1 kB / 0.7348 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.006823, allocations: 13.03 kB / 0.7348 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.006841, allocations: 12 kB / 0.7348 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.006993, allocations: 105.6 kB / 0.7349 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.007001, allocations: 1.594 kB / 0.7349 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.007011, allocations: 3.938 kB / 0.7349 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.007017, allocations: 7.984 kB / 0.7349 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.007065, allocations: 28.84 kB / 0.735 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.007409, allocations: 259.7 kB / 0.7352 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.00754, allocations: 124 kB / 0.7353 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.007569, allocations: 18.52 kB / 0.7353 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.007583, allocations: 4 kB / 0.7354 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.007702, allocations: 96.34 kB / 0.7354 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.007703, allocations: 1.312 kB / 0.7354 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001623/0.007866, allocations: 109.6 kB / 0.7355 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.007902, allocations: 59.58 kB / 0.7356 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.008055, allocations: 252.3 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.008073, allocations: 37.69 kB / 0.7359 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.008125, allocations: 118.2 kB / 0.736 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.008156, allocations: 39.67 kB / 0.736 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.008217, allocations: 61.66 kB / 0.7361 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.008307, allocations: 339.7 kB / 0.7364 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/0.008343, allocations: 26.81 kB / 0.7364 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.008398, allocations: 73.89 kB / 0.7365 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.008504, allocations: 121.8 kB / 0.7366 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.008506, allocations: 0.5938 kB / 0.7366 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001484/0.008655, allocations: 143.8 kB / 0.7368 GB, free: 13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.008667, allocations: 5.344 kB / 0.7368 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008672, allocations: 4 kB / 0.7368 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.008685, allocations: 0 / 0.7368 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.008816, allocations: 51.91 kB / 0.7368 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.00882, allocations: 1.25 kB / 0.7368 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.00888, allocations: 27.81 kB / 0.7369 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.008899, allocations: 12 kB / 0.7369 GB, free: 12.9 MB / 0.7136 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 8.964e-05/0.008989, allocations: 129.9 kB / 0.737 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.009009, allocations: 19.97 kB / 0.737 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.00914, allocations: 104.1 kB / 0.7371 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.009143, allocations: 4 kB / 0.7371 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.009144, allocations: 4.469 kB / 0.7371 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009147, allocations: 1.125 kB / 0.7371 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.009429, allocations: 366.5 kB / 0.7375 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.009431, allocations: 0.8125 kB / 0.7375 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.009478, allocations: 23.92 kB / 0.7375 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.009497, allocations: 21.08 kB / 0.7375 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.0095, allocations: 4 kB / 0.7375 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.00951, allocations: 7.938 kB / 0.7375 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.009511, allocations: 0 / 0.7375 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009512, allocations: 0.5938 kB / 0.7375 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.009645, allocations: 243.4 kB / 0.7378 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.009666, allocations: 4 kB / 0.7378 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.009722, allocations: 16.72 kB / 0.7378 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.009763, allocations: 19.83 kB / 0.7378 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.009772, allocations: 9.859 kB / 0.7378 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.009833, allocations: 78.78 kB / 0.7379 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009833, allocations: 0 / 0.7379 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000174/0.01001, allocations: 51.92 kB / 0.7379 GB, free: 11.77 MB / 0.7136 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.001283/0.01129, allocations: 0.5611 MB / 0.7385 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.01143, allocations: 100.7 kB / 0.7386 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.01144, allocations: 4 kB / 0.7386 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.0115, allocations: 50.17 kB / 0.7386 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.01179, allocations: 310 kB / 0.7389 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.0124, allocations: 367.5 kB / 0.7393 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.01245, allocations: 84.94 kB / 0.7393 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.935e-05/0.01251, allocations: 31.33 kB / 0.7394 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.01261, allocations: 87.36 kB / 0.7395 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/0.01261, allocations: 0.5312 kB / 0.7395 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.005098/0.01771, allocations: 3.543 MB / 0.7429 GB, free: 7.043 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.146915201097727]