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.00182/0.00182, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 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.003382/0.003382, allocations: 160.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.512/1.512, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.905/2.905, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 67.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003094/1.094, allocations: 1.899 MB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001848/1.096, allocations: 1.212 MB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/1.096, allocations: 6.969 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003474/1.097, allocations: 96.41 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/1.097, allocations: 136 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/1.097, allocations: 133.8 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/1.098, allocations: 227.4 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/1.098, allocations: 35.39 kB / 1.158 GB, free: 30.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/1.098, allocations: 105.1 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/1.098, allocations: 108.7 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/1.098, allocations: 13.69 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/1.098, allocations: 61.73 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/1.098, allocations: 59.56 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/1.098, allocations: 73.58 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/1.099, allocations: 279.2 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.099, allocations: 3.938 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/1.099, allocations: 0 / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.099, allocations: 0 / 1.158 GB, free: 30.69 MB / 1.076 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.0007972/1.1, allocations: 498.2 kB / 1.159 GB, free: 30.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/1.1, allocations: 8.219 kB / 1.159 GB, free: 30.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/1.1, allocations: 37.25 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/1.1, allocations: 228.9 kB / 1.159 GB, free: 30.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/1.1, allocations: 9.312 kB / 1.159 GB, free: 30.08 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/1.1, allocations: 12.41 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/1.1, allocations: 113.9 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.1, allocations: 0 / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/1.1, allocations: 6.719 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/1.1, allocations: 7.469 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/1.101, allocations: 86.45 kB / 1.159 GB, free: 29.99 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/1.101, allocations: 375 kB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/1.101, allocations: 123.8 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/1.102, allocations: 60.34 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/1.102, allocations: 2.844 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/1.102, allocations: 124.7 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/1.102, allocations: 2.969 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0005984/1.102, allocations: 253.3 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/1.102, allocations: 54.56 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/1.103, allocations: 346 kB / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/1.103, allocations: 32.61 kB / 1.161 GB, free: 29.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/1.103, allocations: 142.5 kB / 1.161 GB, free: 29.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/1.103, allocations: 40.81 kB / 1.161 GB, free: 29.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/1.103, allocations: 59.48 kB / 1.161 GB, free: 29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/1.103, allocations: 337.4 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/1.103, allocations: 84.81 kB / 1.161 GB, free: 28.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/1.103, allocations: 134.2 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/1.104, allocations: 194.4 kB / 1.161 GB, free: 28.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.104, allocations: 0 / 1.161 GB, free: 28.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004971/1.104, allocations: 282.7 kB / 1.162 GB, free: 28.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.104, allocations: 12.19 kB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.104, allocations: 0 / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.104, allocations: 6.25 kB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/1.104, allocations: 41.92 kB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.104, allocations: 2.906 kB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/1.105, allocations: 23.91 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/1.105, allocations: 15.44 kB / 1.162 GB, free: 28.33 MB / 1.076 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.0001206/1.105, allocations: 167.4 kB / 1.162 GB, free: 28.19 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/1.105, allocations: 28.3 kB / 1.162 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/1.105, allocations: 222.8 kB / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.105, allocations: 0 / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.105, allocations: 2.969 kB / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.105, allocations: 0 / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/1.106, allocations: 0.4905 MB / 1.163 GB, free: 27.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.106, allocations: 3.375 kB / 1.163 GB, free: 27.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.591e-05/1.106, allocations: 18.69 kB / 1.163 GB, free: 27.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.106, allocations: 6.625 kB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/1.106, allocations: 4 kB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.106, allocations: 3.188 kB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.106, allocations: 0 / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/1.106, allocations: 308.9 kB / 1.163 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/1.106, allocations: 28.27 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/1.106, allocations: 6.156 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/1.107, allocations: 15.61 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/1.107, allocations: 20.33 kB / 1.163 GB, free: 27.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/1.107, allocations: 9.172 kB / 1.163 GB, free: 27.51 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001742/1.107, allocations: 214.4 kB / 1.163 GB, free: 27.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.107, allocations: 0 / 1.163 GB, free: 27.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003207/1.107, allocations: 47.81 kB / 1.163 GB, free: 27.38 MB / 1.076 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.001654/1.109, allocations: 460.4 kB / 1.164 GB, free: 27.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004484/1.109, allocations: 178.8 kB / 1.164 GB, free: 27.13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.109, allocations: 0 / 1.164 GB, free: 27.13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/1.109, allocations: 70.31 kB / 1.164 GB, free: 27.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/1.11, allocations: 59.86 kB / 1.164 GB, free: 27.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/1.111, allocations: 416.9 kB / 1.164 GB, free: 26.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/1.111, allocations: 138.9 kB / 1.165 GB, free: 26.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001104/1.111, allocations: 41.34 kB / 1.165 GB, free: 26.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/1.111, allocations: 26.31 kB / 1.165 GB, free: 26.74 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/1.111, allocations: 2.938 kB / 1.165 GB, free: 26.74 MB / 1.076 GB Notification: Performance of Templates: time 0.006927/1.118, allocations: 3.28 MB / 1.168 GB, free: 26.34 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.408511796034873]