Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001652/0.001652, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002363/0.002363, allocations: 160 kB / 23.01 MB, free: 4.602 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.555/1.555, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.863/2.863, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002106/0.002106, allocations: 59.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.97, allocations: 181.8 MB / 1.187 GB, free: 16.14 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003638/0.9737, allocations: 1.908 MB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.9757, allocations: 1.209 MB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.9758, allocations: 5.219 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.9762, allocations: 103.6 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.9766, allocations: 130.8 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.9769, allocations: 133.1 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.9771, allocations: 225.9 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.9773, allocations: 35.3 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.9775, allocations: 105.6 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.9776, allocations: 105.4 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.9777, allocations: 16.72 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.9778, allocations: 63.17 kB / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-05/0.9779, allocations: 60.44 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.978, allocations: 71.77 kB / 1.191 GB, free: 13.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.9784, allocations: 284.7 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9784, allocations: 0.5625 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9784, allocations: 5.125 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.9784, allocations: 0 / 1.191 GB, free: 13.46 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.0008547/0.9792, allocations: 486 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.9793, allocations: 9.359 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.9793, allocations: 24.3 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.9797, allocations: 231.3 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.9797, allocations: 9.781 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.9797, allocations: 11.05 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.98, allocations: 120.2 kB / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.9801, allocations: 0 / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.9801, allocations: 6.109 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.9801, allocations: 2.438 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.9804, allocations: 86.75 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.981, allocations: 379.4 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.9814, allocations: 134.4 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.9815, allocations: 52.28 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.9815, allocations: 1.344 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003018/0.9818, allocations: 121 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.9818, allocations: 0 / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0006772/0.9825, allocations: 265.4 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.9826, allocations: 60 kB / 1.193 GB, free: 12.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.9829, allocations: 337.7 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.9829, allocations: 33.36 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.983, allocations: 139.2 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.9831, allocations: 41.86 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/0.9831, allocations: 59.95 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.9832, allocations: 334 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.9834, allocations: 88.73 kB / 1.194 GB, free: 11.44 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.9837, allocations: 131.2 kB / 1.194 GB, free: 11.37 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.9841, allocations: 190.6 kB / 1.194 GB, free: 11.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9841, allocations: 5.062 kB / 1.194 GB, free: 11.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005628/0.9846, allocations: 286.3 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.9847, allocations: 9.375 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.9847, allocations: 1.281 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9847, allocations: 3.094 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.9849, allocations: 54.48 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.9849, allocations: 7.016 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.9851, allocations: 23.23 kB / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.9851, allocations: 9 kB / 1.195 GB, free: 11.11 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.000131/0.9852, allocations: 158.6 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.9853, allocations: 39.28 kB / 1.195 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.9858, allocations: 214.8 kB / 1.195 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.9858, allocations: 1.062 kB / 1.195 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9858, allocations: 5.359 kB / 1.195 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.9858, allocations: 1.828 kB / 1.195 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.9866, allocations: 497.8 kB / 1.195 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.9866, allocations: 0 / 1.195 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.9867, allocations: 15.59 kB / 1.195 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.9867, allocations: 5.906 kB / 1.195 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.9867, allocations: 6.625 kB / 1.195 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.9867, allocations: 0.875 kB / 1.195 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9867, allocations: 4 kB / 1.195 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.9872, allocations: 306.1 kB / 1.196 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.9872, allocations: 31.17 kB / 1.196 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.9872, allocations: 2.719 kB / 1.196 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.9874, allocations: 18.73 kB / 1.196 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.9875, allocations: 17.31 kB / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.9875, allocations: 5.109 kB / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002047/0.9877, allocations: 213.6 kB / 1.196 GB, free: 10.19 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9877, allocations: 5.125 kB / 1.196 GB, free: 10.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003379/0.988, allocations: 54.75 kB / 1.196 GB, free: 10.17 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.001672/0.9897, allocations: 450.6 kB / 1.196 GB, free: 9.969 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.9902, allocations: 182.5 kB / 1.197 GB, free: 9.918 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9902, allocations: 5.594 kB / 1.197 GB, free: 9.914 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.9904, allocations: 67.77 kB / 1.197 GB, free: 9.898 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.9909, allocations: 66.33 kB / 1.197 GB, free: 9.875 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.9916, allocations: 417.2 kB / 1.197 GB, free: 9.621 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.9918, allocations: 148.6 kB / 1.197 GB, free: 9.535 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.9919, allocations: 29.8 kB / 1.197 GB, free: 9.531 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.9919, allocations: 26.44 kB / 1.197 GB, free: 9.523 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/0.9919, allocations: 0 / 1.197 GB, free: 9.523 MB / 1.076 GB Notification: Performance of Templates: time 0.008489/1, allocations: 3.28 MB / 1.201 GB, free: 9.117 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.211511326022446]