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.001059/0.001059, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001967/0.003026, allocations: 435.8 kB / 10.33 MB, free: 368 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.001292/0.001292, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.002972, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9974/0.9974, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09538/1.093, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.405/2.405, allocations: 446.7 MB / 0.6745 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2616/2.667, allocations: 145.9 MB / 0.817 GB, free: 4.258 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.513e-06/1.513e-06, allocations: 3.938 kB / 0.8184 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.039e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001917/0.001938, allocations: 1.083 MB / 0.8194 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.00305, allocations: 1.065 MB / 0.8205 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003152, allocations: 4 kB / 0.8205 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.771e-05/0.00323, allocations: 19.73 kB / 0.8205 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.003277, allocations: 19.75 kB / 0.8205 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.003491, allocations: 75.78 kB / 0.8206 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.003656, allocations: 176.1 kB / 0.8208 GB, free: 420 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.003779, allocations: 57.81 kB / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.003923, allocations: 127.6 kB / 0.8209 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.004, allocations: 63.78 kB / 0.821 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.004024, allocations: 16 kB / 0.821 GB, free: 152 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.278e-05/0.004097, allocations: 20 kB / 0.821 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.004126, allocations: 27.88 kB / 0.8211 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.004162, allocations: 35.94 kB / 0.8211 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.004388, allocations: 115.5 kB / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/0.004401, allocations: 0 / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004401, allocations: 0 / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.004414, allocations: 0 / 0.8212 GB, free: 15.95 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.0005183/0.004932, allocations: 407.7 kB / 0.8216 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.004965, allocations: 12.03 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.005108, allocations: 106 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.005274, allocations: 158 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.005294, allocations: 12.38 kB / 0.8219 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.00532, allocations: 12.38 kB / 0.8219 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.005498, allocations: 150 kB / 0.822 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005506, allocations: 192 / 0.822 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.005519, allocations: 16.12 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.005524, allocations: 4 kB / 0.822 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.005579, allocations: 39.64 kB / 0.8221 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.006069, allocations: 331.5 kB / 0.8224 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.006245, allocations: 78.52 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.006283, allocations: 36.84 kB / 0.8225 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.006307, allocations: 11.94 kB / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.006415, allocations: 113 kB / 0.8226 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.006416, allocations: 3.938 kB / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0001585/0.006575, allocations: 109.1 kB / 0.8227 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.006599, allocations: 59.34 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.006671, allocations: 144.9 kB / 0.8229 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.006692, allocations: 29.7 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.006735, allocations: 116.4 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.006774, allocations: 67.42 kB / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.006819, allocations: 45.67 kB / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.006893, allocations: 326.8 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.006956, allocations: 23.98 kB / 0.8235 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-05/0.007001, allocations: 37.7 kB / 0.8235 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.007077, allocations: 76.22 kB / 0.8236 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.007082, allocations: 3.938 kB / 0.8236 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001177/0.007199, allocations: 109.6 kB / 0.8237 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.007213, allocations: 8 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007218, allocations: 0 / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.007227, allocations: 3.938 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.007337, allocations: 44.02 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.007341, allocations: 4 kB / 0.8238 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.007385, allocations: 11.94 kB / 0.8238 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.007393, allocations: 8 kB / 0.8238 GB, free: 13.09 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 7.261e-05/0.007466, allocations: 121.8 kB / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.007484, allocations: 15.98 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.007622, allocations: 118.6 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.007625, allocations: 3.938 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.007627, allocations: 4 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.007631, allocations: 4 kB / 0.8241 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.007994, allocations: 359.5 kB / 0.8244 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.007997, allocations: 4 kB / 0.8244 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.008094, allocations: 39.98 kB / 0.8244 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.00811, allocations: 23.83 kB / 0.8245 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.008112, allocations: 192 / 0.8245 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.008124, allocations: 11.98 kB / 0.8245 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.008128, allocations: 11.88 kB / 0.8245 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.00813, allocations: 0 / 0.8245 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.008622, allocations: 262.7 kB / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.008639, allocations: 8 kB / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.008704, allocations: 15.98 kB / 0.8248 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.008747, allocations: 19.97 kB / 0.8248 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.008756, allocations: 7.984 kB / 0.8248 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.008784, allocations: 32.77 kB / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008784, allocations: 4 kB / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001697/0.008954, allocations: 39.89 kB / 0.8249 GB, free: 11.91 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 9.728e-05/0.009051, allocations: 84.36 kB / 0.8249 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.009181, allocations: 95.55 kB / 0.825 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.009192, allocations: 4 kB / 0.825 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.009243, allocations: 51.12 kB / 0.8251 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.009434, allocations: 36.41 kB / 0.8251 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.01026, allocations: 361.9 kB / 0.8255 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.01031, allocations: 79.92 kB / 0.8255 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.105e-05/0.01036, allocations: 17.48 kB / 0.8256 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.01044, allocations: 75.36 kB / 0.8256 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.01044, allocations: 0 / 0.8256 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.003707/0.01415, allocations: 1.9 MB / 0.8275 GB, free: 9.172 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.181598558090627]