Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001078/0.001078, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001159/0.001159, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8802/0.8802, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.615/1.615, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 3.938 kB / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/2.005e-05, allocations: 6.281 kB / 0.9518 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.0014/0.00142, allocations: 1.007 MB / 0.9528 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.002371, allocations: 1.026 MB / 0.9538 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.002463, allocations: 7.938 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.002564, allocations: 15.8 kB / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.002608, allocations: 19.73 kB / 0.9538 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.002838, allocations: 83.72 kB / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.002974, allocations: 180.1 kB / 0.9541 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.003089, allocations: 56.52 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.431e-05/0.003183, allocations: 107.7 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.00325, allocations: 51.86 kB / 0.9543 GB, free: 360 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.003272, allocations: 16 kB / 0.9543 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.886e-05/0.003311, allocations: 20 kB / 0.9543 GB, free: 324 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.003341, allocations: 39.83 kB / 0.9544 GB, free: 284 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.003379, allocations: 55.83 kB / 0.9544 GB, free: 228 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.003567, allocations: 203.3 kB / 0.9546 GB, free: 24 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003569, allocations: 0 / 0.9546 GB, free: 24 kB / 0.9011 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00357, allocations: 0 / 0.9546 GB, free: 24 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003573, allocations: 4 kB / 0.9546 GB, free: 20 kB / 0.9011 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.0005124/0.004086, allocations: 418.4 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.004115, allocations: 8.031 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.004187, allocations: 24.84 kB / 0.955 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.004371, allocations: 168.5 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.004385, allocations: 16.31 kB / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.004416, allocations: 24.36 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.004623, allocations: 171.7 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.00463, allocations: 192 / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.004646, allocations: 12.12 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.00465, allocations: 4 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.004806, allocations: 107.9 kB / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.005403, allocations: 443.8 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.005646, allocations: 134.6 kB / 0.9561 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.005742, allocations: 76.81 kB / 0.9561 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.005763, allocations: 7.938 kB / 0.9562 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.005913, allocations: 153 kB / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.132e-06/0.005914, allocations: 0 / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0003149/0.006229, allocations: 219.3 kB / 0.9565 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.006253, allocations: 55.36 kB / 0.9566 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.00633, allocations: 148.6 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.00635, allocations: 25.7 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.006401, allocations: 128.4 kB / 0.9569 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.006438, allocations: 71.42 kB / 0.9569 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.006484, allocations: 37.7 kB / 0.957 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.006563, allocations: 326.8 kB / 0.9573 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.006676, allocations: 67.95 kB / 0.9573 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.00679, allocations: 83.91 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.00698, allocations: 149.5 kB / 0.9576 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006982, allocations: 8 kB / 0.9576 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002636/0.007245, allocations: 207.3 kB / 0.9578 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.007257, allocations: 11.98 kB / 0.9578 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007262, allocations: 0 / 0.9578 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.007272, allocations: 0 / 0.9578 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.007379, allocations: 43.92 kB / 0.9578 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007384, allocations: 3.938 kB / 0.9578 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.007447, allocations: 27.94 kB / 0.9578 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.007457, allocations: 8 kB / 0.9579 GB, free: 12.5 MB / 0.9167 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.933e-05/0.007526, allocations: 125.8 kB / 0.958 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.00754, allocations: 15.91 kB / 0.958 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.007784, allocations: 194.6 kB / 0.9582 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007787, allocations: 4 kB / 0.9582 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.00779, allocations: 4 kB / 0.9582 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007793, allocations: 0 / 0.9582 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.008243, allocations: 0.5049 MB / 0.9587 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008245, allocations: 0 / 0.9587 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/0.008344, allocations: 39.91 kB / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.008347, allocations: 8.188 kB / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.008359, allocations: 8 kB / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.008361, allocations: 0 / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.008365, allocations: 7.938 kB / 0.9587 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.008703, allocations: 375.2 kB / 0.9591 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.008719, allocations: 23.92 kB / 0.9591 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.008735, allocations: 8 kB / 0.9591 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.00881, allocations: 19.92 kB / 0.9591 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.008852, allocations: 19.97 kB / 0.9592 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.008861, allocations: 7.984 kB / 0.9592 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.008909, allocations: 113.5 kB / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008909, allocations: 0 / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001748/0.009084, allocations: 35.89 kB / 0.9593 GB, free: 10.91 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.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.649e-05/0.00916, allocations: 107.2 kB / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.009408, allocations: 151.9 kB / 0.9596 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.00941, allocations: 0 / 0.9596 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.009513, allocations: 83.84 kB / 0.9596 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.009727, allocations: 27.91 kB / 0.9597 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.01015, allocations: 393.4 kB / 0.96 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.603e-05/0.01022, allocations: 108.3 kB / 0.9601 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.01027, allocations: 32.42 kB / 0.9602 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.01027, allocations: 0 / 0.9602 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of Templates: time 0.002224/0.01249, allocations: 1.972 MB / 0.9621 GB, free: 7.969 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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: 6.452659362927079]