Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001105/0.001105, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002071/0.003176, allocations: 449.8 kB / 10.44 MB, free: 252 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.001271/0.001271, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001694/0.002964, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9822/0.9822, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08845/1.071, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.851/1.851, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5928/2.444, allocations: 123.3 MB / 0.7283 GB, free: 5.766 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0.5469 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.119e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001834/0.001865, allocations: 1.082 MB / 0.7308 GB, free: 3.328 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003013, allocations: 1.068 MB / 0.7318 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.003114, allocations: 8.812 kB / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.767e-05/0.003191, allocations: 19.73 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.197e-05/0.003253, allocations: 24.3 kB / 0.7319 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.003457, allocations: 72.66 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.00363, allocations: 177.7 kB / 0.7321 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.003768, allocations: 62.45 kB / 0.7322 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.003924, allocations: 119.7 kB / 0.7323 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.004017, allocations: 56.3 kB / 0.7323 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.004043, allocations: 16 kB / 0.7323 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.004111, allocations: 25.38 kB / 0.7324 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.004144, allocations: 31.88 kB / 0.7324 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.004182, allocations: 35.94 kB / 0.7324 GB, free: 1.633 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.004351, allocations: 111.5 kB / 0.7325 GB, free: 1.523 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.004363, allocations: 0.5312 kB / 0.7325 GB, free: 1.523 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.01e-07/0.004364, allocations: 0.9375 kB / 0.7325 GB, free: 1.523 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.004377, allocations: 0 / 0.7325 GB, free: 1.523 MB / 0.698 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.000569/0.004946, allocations: 404.7 kB / 0.7329 GB, free: 1.102 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.004983, allocations: 9.469 kB / 0.7329 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.005135, allocations: 102 kB / 0.733 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.005331, allocations: 162.7 kB / 0.7332 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.005348, allocations: 12.38 kB / 0.7332 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.005385, allocations: 17.06 kB / 0.7332 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.005581, allocations: 149.9 kB / 0.7334 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.005592, allocations: 5.891 kB / 0.7334 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.005604, allocations: 12.12 kB / 0.7334 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005611, allocations: 7.938 kB / 0.7334 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.365e-05/0.005665, allocations: 32.56 kB / 0.7334 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.006152, allocations: 330.4 kB / 0.7337 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.006336, allocations: 86.44 kB / 0.7338 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.006375, allocations: 32.86 kB / 0.7338 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.006399, allocations: 8.859 kB / 0.7339 GB, free: 80 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.006524, allocations: 111.2 kB / 0.734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.006526, allocations: 0.8438 kB / 0.734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0001711/0.006697, allocations: 109.6 kB / 0.7341 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.006722, allocations: 64.02 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.006801, allocations: 144.5 kB / 0.7343 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.006823, allocations: 29.7 kB / 0.7343 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.006868, allocations: 113.2 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.006914, allocations: 67.47 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.006961, allocations: 46.27 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.007053, allocations: 328.7 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.007106, allocations: 19.98 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/0.007149, allocations: 42.7 kB / 0.7349 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.851e-05/0.007228, allocations: 76.17 kB / 0.735 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.00723, allocations: 0.6875 kB / 0.735 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001152/0.007345, allocations: 108.5 kB / 0.7351 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.007359, allocations: 11.27 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.007365, allocations: 5.094 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.007379, allocations: 3.938 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.007488, allocations: 40.64 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.007491, allocations: 0 / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.007538, allocations: 24.53 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.007546, allocations: 8 kB / 0.7352 GB, free: 14.68 MB / 0.7136 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.286e-05/0.007619, allocations: 123.5 kB / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.007636, allocations: 15.98 kB / 0.7353 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.007776, allocations: 117.7 kB / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007779, allocations: 0 / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.007781, allocations: 0 / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007785, allocations: 1.781 kB / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.008153, allocations: 376.7 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.008156, allocations: 4 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.695e-05/0.008253, allocations: 35.92 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.008268, allocations: 16.59 kB / 0.7358 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.008273, allocations: 4 kB / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.008286, allocations: 8.594 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.008291, allocations: 4.734 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.008294, allocations: 4 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.00851, allocations: 261.9 kB / 0.7361 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.008531, allocations: 8 kB / 0.7361 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.008591, allocations: 16.77 kB / 0.7361 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.008643, allocations: 19.91 kB / 0.7361 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.008657, allocations: 11.94 kB / 0.7361 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.008688, allocations: 32 kB / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008688, allocations: 0 / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001685/0.008857, allocations: 40.67 kB / 0.7362 GB, free: 13.51 MB / 0.7136 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.898e-05/0.008956, allocations: 83.84 kB / 0.7363 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.009102, allocations: 93 kB / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/0.009111, allocations: 4 kB / 0.7364 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.009191, allocations: 69.67 kB / 0.7364 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.009427, allocations: 119.9 kB / 0.7366 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.01027, allocations: 367.8 kB / 0.7369 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.958e-05/0.01033, allocations: 76.06 kB / 0.737 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.199e-05/0.01038, allocations: 13.48 kB / 0.737 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.977e-05/0.01048, allocations: 80.23 kB / 0.7371 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of SimCode: time 1.293e-06/0.01048, allocations: 0 / 0.7371 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of Templates: time 0.004049/0.01453, allocations: 1.898 MB / 0.7389 GB, free: 10.75 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative/Buildings_12_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.175762834958732]