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.001165/0.001165, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001894/0.003059, allocations: 449.7 kB / 10.37 MB, free: 324 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.001063/0.001063, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.0022, allocations: 459.6 kB / 11.71 MB, free: 2.453 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.059/1.059, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1186/1.177, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.935/1.935, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5179/2.453, allocations: 123.3 MB / 0.728 GB, free: 5.832 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 2.334e-06/2.334e-06, allocations: 1.094 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.557e-05, allocations: 6.438 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003811/0.003836, allocations: 2.003 MB / 0.7313 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.0061, allocations: 1.267 MB / 0.7325 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.00625, allocations: 8.438 kB / 0.7325 GB, free: 1.266 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.006611, allocations: 97.84 kB / 0.7326 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.00699, allocations: 142.4 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.00733, allocations: 136.3 kB / 0.7329 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.007675, allocations: 219.3 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.007838, allocations: 39.06 kB / 0.7331 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007988/0.008637, allocations: 201.7 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.008799, allocations: 83.77 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.008832, allocations: 12.94 kB / 0.7334 GB, free: 396 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.00901, allocations: 55.97 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.622e-05/0.009096, allocations: 56.38 kB / 0.7335 GB, free: 284 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.009161, allocations: 35.88 kB / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.00955, allocations: 184 kB / 0.7337 GB, free: 64 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.085e-05/0.009571, allocations: 0 / 0.7337 GB, free: 64 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.009573, allocations: 0.5 kB / 0.7338 GB, free: 64 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.009594, allocations: 5.25 kB / 0.7338 GB, free: 60 kB / 0.698 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.000872/0.01047, allocations: 491.1 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.01051, allocations: 8.031 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.01057, allocations: 21.75 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.01089, allocations: 212.1 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.01092, allocations: 12.53 kB / 0.7345 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.01094, allocations: 13.72 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.01116, allocations: 110.8 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01117, allocations: 0 / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.01119, allocations: 3.938 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.0112, allocations: 4.812 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.01127, allocations: 23.98 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.01178, allocations: 255.9 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.01197, allocations: 120 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.01201, allocations: 28.78 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.01203, allocations: 4.812 kB / 0.735 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.0122, allocations: 99 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/0.0122, allocations: 0 / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002349/0.01244, allocations: 106.1 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.01249, allocations: 63.53 kB / 0.7353 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.01273, allocations: 255.6 kB / 0.7355 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.01276, allocations: 33.7 kB / 0.7355 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.01294, allocations: 117 kB / 0.7357 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.01299, allocations: 44.17 kB / 0.7357 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.01307, allocations: 62.75 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.0132, allocations: 334.8 kB / 0.7361 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.01326, allocations: 26.81 kB / 0.7361 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.01334, allocations: 69.73 kB / 0.7362 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.01348, allocations: 114.2 kB / 0.7363 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.01349, allocations: 1.031 kB / 0.7363 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002326/0.01372, allocations: 144.6 kB / 0.7364 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01374, allocations: 11.94 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01374, allocations: 0 / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01376, allocations: 4 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.01396, allocations: 49.19 kB / 0.7365 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01397, allocations: 7.938 kB / 0.7365 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.01407, allocations: 27.81 kB / 0.7365 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.01409, allocations: 5.281 kB / 0.7365 GB, free: 13.05 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 0.0001181/0.01421, allocations: 136.3 kB / 0.7366 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.01424, allocations: 16.77 kB / 0.7367 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.01443, allocations: 103.5 kB / 0.7368 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01443, allocations: 7.938 kB / 0.7368 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01444, allocations: 0.75 kB / 0.7368 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.01444, allocations: 7.969 kB / 0.7368 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.01489, allocations: 367.2 kB / 0.7371 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01489, allocations: 0.8125 kB / 0.7371 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.01497, allocations: 15.98 kB / 0.7371 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.015, allocations: 29.23 kB / 0.7372 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01501, allocations: 0 / 0.7372 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01502, allocations: 11.92 kB / 0.7372 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01502, allocations: 4 kB / 0.7372 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01503, allocations: 1.25 kB / 0.7372 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.01523, allocations: 242.6 kB / 0.7374 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.01526, allocations: 0 / 0.7374 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01536, allocations: 13.14 kB / 0.7374 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.01542, allocations: 23.91 kB / 0.7375 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.01543, allocations: 4 kB / 0.7375 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.724e-05/0.01553, allocations: 80.02 kB / 0.7375 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01553, allocations: 0 / 0.7375 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003167/0.01585, allocations: 47.94 kB / 0.7376 GB, free: 11.91 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.001969/0.01781, allocations: 0.5678 MB / 0.7381 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.01804, allocations: 93.69 kB / 0.7382 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.01805, allocations: 4.938 kB / 0.7382 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.01813, allocations: 44.77 kB / 0.7383 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.01847, allocations: 75.75 kB / 0.7383 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.01948, allocations: 362.8 kB / 0.7387 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.175e-05/0.01955, allocations: 90.75 kB / 0.7388 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.01965, allocations: 29.92 kB / 0.7388 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.01979, allocations: 87.3 kB / 0.7389 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of SimCode: time 1.062e-06/0.01979, allocations: 1.469 kB / 0.7389 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of Templates: time 0.008142/0.02794, allocations: 3.551 MB / 0.7424 GB, free: 7.461 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.274290116503835]