Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001448/0.001448, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002525/0.003973, allocations: 440 kB / 10.41 MB, free: 284 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.001611/0.001611, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002245/0.003856, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.086/1.086, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.19, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.461/2.461, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2279/2.689, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.404e-05, allocations: 2.312 kB / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001529/0.001544, allocations: 1.076 MB / 0.8201 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.002466, allocations: 1.065 MB / 0.8211 GB, free: 268 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.1e-05/0.002557, allocations: 7.938 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.877e-05/0.002626, allocations: 19.73 kB / 0.8211 GB, free: 240 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.002668, allocations: 15.81 kB / 0.8211 GB, free: 224 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.002838, allocations: 75.78 kB / 0.8212 GB, free: 148 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.003015, allocations: 176.2 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.003143, allocations: 65.67 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.003302, allocations: 125 kB / 0.8216 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.938e-05/0.003382, allocations: 51.86 kB / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.003407, allocations: 16 kB / 0.8216 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.209e-05/0.003479, allocations: 27.97 kB / 0.8217 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.003513, allocations: 31.88 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.003548, allocations: 35.88 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.003711, allocations: 107.5 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.003724, allocations: 0 / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003725, allocations: 3.938 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.003739, allocations: 4 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005533/0.004292, allocations: 415.7 kB / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.004323, allocations: 8.031 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.004456, allocations: 102 kB / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.004619, allocations: 154 kB / 0.8225 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.004637, allocations: 16.38 kB / 0.8225 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.004666, allocations: 16.38 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.004828, allocations: 144.6 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.004837, allocations: 4.188 kB / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.004848, allocations: 8.125 kB / 0.8227 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.004856, allocations: 7.984 kB / 0.8227 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.004911, allocations: 43.69 kB / 0.8227 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.005379, allocations: 327.7 kB / 0.823 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.005578, allocations: 82.45 kB / 0.8231 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.005618, allocations: 44.78 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.00564, allocations: 3.984 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.00576, allocations: 113 kB / 0.8233 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.005762, allocations: 0 / 0.8233 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0001603/0.005922, allocations: 112.7 kB / 0.8234 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.005947, allocations: 63.33 kB / 0.8234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.006019, allocations: 140.9 kB / 0.8236 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.00604, allocations: 29.7 kB / 0.8236 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.006082, allocations: 116.4 kB / 0.8237 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.006123, allocations: 71.39 kB / 0.8238 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.006165, allocations: 45.69 kB / 0.8238 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.00624, allocations: 326.8 kB / 0.8241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/0.006292, allocations: 27.98 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.006334, allocations: 41.69 kB / 0.8242 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/0.00641, allocations: 76.03 kB / 0.8243 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.006412, allocations: 7.875 kB / 0.8243 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002722/0.006685, allocations: 101.7 kB / 0.8244 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.006701, allocations: 7.984 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.006706, allocations: 4.031 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.006721, allocations: 7.938 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.006826, allocations: 39.92 kB / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.006829, allocations: 0 / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.006872, allocations: 19.94 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.00688, allocations: 4 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 6.425e-05/0.006945, allocations: 121.8 kB / 0.8246 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.00696, allocations: 15.98 kB / 0.8246 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.007079, allocations: 106.7 kB / 0.8247 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.007083, allocations: 11.94 kB / 0.8247 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.007085, allocations: 0 / 0.8247 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.007089, allocations: 0 / 0.8247 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.007409, allocations: 367.5 kB / 0.825 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00741, allocations: 0 / 0.825 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.69e-05/0.007497, allocations: 35.92 kB / 0.8251 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.007509, allocations: 20.03 kB / 0.8251 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.007512, allocations: 8 kB / 0.8251 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.007525, allocations: 4 kB / 0.8251 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.007529, allocations: 7.984 kB / 0.8251 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.007533, allocations: 4 kB / 0.8251 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.007732, allocations: 263.4 kB / 0.8254 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.00775, allocations: 8 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/0.007807, allocations: 7.984 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.007854, allocations: 23.91 kB / 0.8254 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.007863, allocations: 8 kB / 0.8254 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.007891, allocations: 43.19 kB / 0.8255 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007891, allocations: 0 / 0.8255 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001412/0.008032, allocations: 35.89 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 7.38e-05/0.008106, allocations: 84.42 kB / 0.8256 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.00822, allocations: 92.69 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.008227, allocations: 4 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.008304, allocations: 64.98 kB / 0.8257 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.0085, allocations: 117.1 kB / 0.8258 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.0092, allocations: 373.1 kB / 0.8262 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.689e-05/0.009247, allocations: 80.38 kB / 0.8263 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.009288, allocations: 17.48 kB / 0.8263 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.009369, allocations: 75.36 kB / 0.8264 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.00937, allocations: 0 / 0.8264 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.003249/0.01262, allocations: 1.902 MB / 0.8282 GB, free: 8.617 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.404472484253347]