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.001796/0.001796, allocations: 77.55 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.002618/0.002618, allocations: 162 kB / 23.01 MB, free: 4.949 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.517/1.517, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.727/2.727, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002321/0.002321, allocations: 71.88 kB / 0.9515 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3384, allocations: 169.9 MB / 1.117 GB, free: 2.469 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003805/0.3422, allocations: 1.905 MB / 1.119 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.3447, allocations: 1.204 MB / 1.121 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.3448, allocations: 4 kB / 1.121 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.3452, allocations: 99.5 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.3457, allocations: 143.4 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.346, allocations: 131.6 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000387/0.3464, allocations: 227.4 kB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.3466, allocations: 29.8 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.3468, allocations: 103.6 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.347, allocations: 107.5 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.3471, allocations: 16 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.3472, allocations: 51.98 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3474, allocations: 63.81 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3475, allocations: 71.53 kB / 1.122 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.3479, allocations: 282.6 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3479, allocations: 8 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3479, allocations: 0 / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.3479, allocations: 3.984 kB / 1.122 GB, free: 14.02 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.001033/0.3489, allocations: 488.8 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.349, allocations: 8.031 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.3491, allocations: 28.75 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.3495, allocations: 233.1 kB / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3495, allocations: 8 kB / 1.123 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3495, allocations: 12 kB / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.3499, allocations: 125.5 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3499, allocations: 0 / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.3499, allocations: 7.922 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3499, allocations: 4 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.3502, allocations: 83.92 kB / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/0.351, allocations: 380.1 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.3514, allocations: 122.6 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.3516, allocations: 56.81 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3516, allocations: 0 / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.3519, allocations: 130.1 kB / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.3519, allocations: 0 / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0007437/0.3526, allocations: 253.5 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.3527, allocations: 59.41 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.3531, allocations: 337.8 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.3531, allocations: 33.7 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3532, allocations: 136.5 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.3533, allocations: 43.67 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.3534, allocations: 69.64 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3536, allocations: 334.8 kB / 1.125 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.3538, allocations: 83.95 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.3541, allocations: 137.8 kB / 1.125 GB, free: 10.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.3545, allocations: 191.3 kB / 1.125 GB, free: 10.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3545, allocations: 0 / 1.125 GB, free: 10.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005956/0.3551, allocations: 281.3 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3552, allocations: 7.938 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3552, allocations: 4 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3552, allocations: 4.156 kB / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.3554, allocations: 51.91 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3554, allocations: 7.938 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3556, allocations: 23.88 kB / 1.125 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.3556, allocations: 11.98 kB / 1.125 GB, free: 10.14 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.0001618/0.3558, allocations: 157.5 kB / 1.126 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.3558, allocations: 31.8 kB / 1.126 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.3563, allocations: 219.5 kB / 1.126 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3563, allocations: 4 kB / 1.126 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3563, allocations: 0 / 1.126 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3563, allocations: 0 / 1.126 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008133/0.3571, allocations: 0.4894 MB / 1.126 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3571, allocations: 7.875 kB / 1.126 GB, free: 9.188 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3572, allocations: 15.98 kB / 1.126 GB, free: 9.172 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3572, allocations: 8 kB / 1.126 GB, free: 9.164 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3573, allocations: 4 kB / 1.126 GB, free: 9.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3573, allocations: 3.984 kB / 1.126 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3573, allocations: 0 / 1.126 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/0.3578, allocations: 303.7 kB / 1.127 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.3578, allocations: 27.8 kB / 1.127 GB, free: 8.816 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3578, allocations: 4 kB / 1.127 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.358, allocations: 15.98 kB / 1.127 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.3581, allocations: 27.89 kB / 1.127 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.3581, allocations: 11.98 kB / 1.127 GB, free: 8.758 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000225/0.3583, allocations: 209.2 kB / 1.127 GB, free: 8.551 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3583, allocations: 0 / 1.127 GB, free: 8.551 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000333/0.3586, allocations: 55.92 kB / 1.127 GB, free: 8.496 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.001653/0.3603, allocations: 441.7 kB / 1.127 GB, free: 8.242 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.3608, allocations: 193.7 kB / 1.128 GB, free: 8.055 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3608, allocations: 4 kB / 1.128 GB, free: 8.051 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.361, allocations: 67.89 kB / 1.128 GB, free: 7.984 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3614, allocations: 44.09 kB / 1.128 GB, free: 7.945 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.3621, allocations: 419.9 kB / 1.128 GB, free: 7.508 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.3623, allocations: 149.5 kB / 1.128 GB, free: 7.344 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.368e-05/0.3624, allocations: 29.94 kB / 1.128 GB, free: 7.316 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.3624, allocations: 28.48 kB / 1.128 GB, free: 7.289 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/0.3624, allocations: 4 kB / 1.128 GB, free: 7.285 MB / 1.076 GB Notification: Performance of Templates: time 0.007641/0.3701, allocations: 3.271 MB / 1.131 GB, free: 4.066 MB / 1.076 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=400 -s ida -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/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.946839495911263]