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.001294/0.001294, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.00142/0.00142, allocations: 192 kB / 22.17 MB, free: 5.652 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.57/1.57, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.92/2.92, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.001978/0.001978, allocations: 71.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8068/0.8087, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003434/0.8122, allocations: 1.948 MB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.8141, allocations: 1.153 MB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.8142, allocations: 4 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.8145, allocations: 91.58 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.8148, allocations: 99.58 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.8152, allocations: 163.5 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.8155, allocations: 215.4 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.8156, allocations: 33.66 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.8158, allocations: 103.6 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.816, allocations: 107.6 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.816, allocations: 20 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.8162, allocations: 55.92 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.8163, allocations: 55.81 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.8164, allocations: 91.41 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.8168, allocations: 277.5 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.8168, allocations: 0 / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8168, allocations: 0 / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.8168, allocations: 0 / 1.278 GB, free: 144 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.001088/0.8179, allocations: 0.5433 MB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.8179, allocations: 15.97 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.818, allocations: 24.8 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.8185, allocations: 297 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.8185, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.8185, allocations: 12 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.8189, allocations: 121.5 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.8189, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.8189, allocations: 3.984 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.8189, allocations: 8 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.8192, allocations: 83.92 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.82, allocations: 456.6 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.8204, allocations: 118.6 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.8205, allocations: 60.75 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.8206, allocations: 0 / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.8209, allocations: 123.3 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.724e-06/0.8209, allocations: 4 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0006914/0.8216, allocations: 245.3 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.8216, allocations: 63.33 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.822, allocations: 326.5 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.822, allocations: 33.7 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.8221, allocations: 136.5 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.8222, allocations: 39.69 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.8223, allocations: 61.69 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.8224, allocations: 342.8 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.8226, allocations: 75.95 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.8229, allocations: 141.1 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.8233, allocations: 191.4 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.8233, allocations: 0 / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005875/0.8239, allocations: 279.5 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.8239, allocations: 4 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.8239, allocations: 4 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8239, allocations: 0 / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.8241, allocations: 52.06 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.8241, allocations: 7.938 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.8243, allocations: 27.86 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.8243, allocations: 8 kB / 1.282 GB, free: 12.04 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.0001658/0.8245, allocations: 165.8 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.8245, allocations: 23.86 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.825, allocations: 210.1 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.825, allocations: 0 / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.825, allocations: 3.938 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.825, allocations: 3.938 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008413/0.8259, allocations: 0.5412 MB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.8259, allocations: 7.938 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.162e-05/0.826, allocations: 15.98 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.826, allocations: 0 / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.826, allocations: 11.98 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.826, allocations: 7.875 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.826, allocations: 0 / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.8265, allocations: 287.3 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.8266, allocations: 108.9 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.8266, allocations: 3.984 kB / 1.283 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.8268, allocations: 15.98 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.8268, allocations: 15.98 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.8268, allocations: 7.984 kB / 1.283 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002241/0.8271, allocations: 206 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8271, allocations: 0 / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003232/0.8274, allocations: 51.89 kB / 1.284 GB, free: 10.27 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.001553/0.8289, allocations: 440.1 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.8294, allocations: 163.8 kB / 1.284 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8294, allocations: 0 / 1.284 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.8296, allocations: 71.89 kB / 1.284 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.83, allocations: 59.3 kB / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.8307, allocations: 407.8 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.8311, allocations: 0.7479 MB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.485e-05/0.8312, allocations: 37.92 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.8313, allocations: 27.44 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.8313, allocations: 3.938 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of Templates: time 0.007202/0.8385, allocations: 3.094 MB / 1.289 GB, free: 5.379 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 gbode -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: 8.921162665821612]