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.0008238/0.0008238, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007455/0.0007455, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.00179, allocations: 459.6 kB / 11.71 MB, free: 2.457 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/1, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0927/1.093, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.879/1.879, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5065/2.385, allocations: 123.3 MB / 0.728 GB, free: 5.824 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.405e-06/2.405e-06, allocations: 0 / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.647e-05, allocations: 14.34 kB / 0.7294 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.0017/0.001736, allocations: 1.072 MB / 0.7304 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.002769, allocations: 1.072 MB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/0.002863, allocations: 4.531 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.71e-05/0.00294, allocations: 20.61 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.098e-05/0.002991, allocations: 14.47 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.003211, allocations: 82.38 kB / 0.7316 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.003376, allocations: 173.8 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.003499, allocations: 56.16 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.003638, allocations: 131.6 kB / 0.732 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.003716, allocations: 55.8 kB / 0.732 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.003742, allocations: 17.66 kB / 0.732 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.028e-05/0.003812, allocations: 20 kB / 0.732 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.003839, allocations: 27.88 kB / 0.7321 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.00388, allocations: 43.86 kB / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.004052, allocations: 107.6 kB / 0.7322 GB, free: 1.605 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.004068, allocations: 1.438 kB / 0.7322 GB, free: 1.605 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.273e-06/0.00407, allocations: 0 / 0.7322 GB, free: 1.605 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.004088, allocations: 0 / 0.7322 GB, free: 1.605 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.0005458/0.004634, allocations: 405.1 kB / 0.7326 GB, free: 1.184 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.004665, allocations: 12.03 kB / 0.7326 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.004807, allocations: 107.8 kB / 0.7327 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.004989, allocations: 162 kB / 0.7329 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.005008, allocations: 8.375 kB / 0.7329 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.005031, allocations: 16.38 kB / 0.7329 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.005208, allocations: 155 kB / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005217, allocations: 4.172 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.005229, allocations: 16.62 kB / 0.7331 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.005237, allocations: 4 kB / 0.7331 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.005293, allocations: 34.09 kB / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.005784, allocations: 329.2 kB / 0.7334 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.005976, allocations: 79.27 kB / 0.7335 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.006015, allocations: 36.84 kB / 0.7335 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.006039, allocations: 4.656 kB / 0.7335 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.006156, allocations: 125 kB / 0.7336 GB, free: 24 kB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.903e-06/0.006158, allocations: 0 / 0.7336 GB, free: 24 kB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.000169/0.006327, allocations: 101.7 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.006358, allocations: 59.34 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.00643, allocations: 149 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.006456, allocations: 34.45 kB / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.006497, allocations: 108.5 kB / 0.7341 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.006534, allocations: 60.2 kB / 0.7341 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.006579, allocations: 49.67 kB / 0.7342 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.006669, allocations: 331.8 kB / 0.7345 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.00673, allocations: 16 kB / 0.7345 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.006772, allocations: 46.44 kB / 0.7346 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.561e-05/0.006848, allocations: 72.59 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.006851, allocations: 3.938 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001168/0.006967, allocations: 108.8 kB / 0.7347 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.006982, allocations: 8.875 kB / 0.7347 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006986, allocations: 0 / 0.7347 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.006998, allocations: 3.938 kB / 0.7347 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.007115, allocations: 45.69 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.00712, allocations: 4 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.007164, allocations: 19.88 kB / 0.7348 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.007173, allocations: 8 kB / 0.7348 GB, free: 14.76 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.206e-05/0.007245, allocations: 123.2 kB / 0.7349 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.007261, allocations: 15.98 kB / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.007399, allocations: 113.1 kB / 0.7351 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.007404, allocations: 3.938 kB / 0.7351 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.007406, allocations: 1 kB / 0.7351 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.007411, allocations: 3.984 kB / 0.7351 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.007789, allocations: 369.4 kB / 0.7354 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.007793, allocations: 4 kB / 0.7354 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.007892, allocations: 37.12 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.007909, allocations: 19.89 kB / 0.7355 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.007913, allocations: 4.969 kB / 0.7355 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.007926, allocations: 8 kB / 0.7355 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.007929, allocations: 4 kB / 0.7355 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.007932, allocations: 5.781 kB / 0.7355 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.008118, allocations: 264.4 kB / 0.7358 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.008134, allocations: 8 kB / 0.7358 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.308e-05/0.008197, allocations: 13.22 kB / 0.7358 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.008242, allocations: 19.95 kB / 0.7358 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.008252, allocations: 8 kB / 0.7358 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.008281, allocations: 35.2 kB / 0.7358 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.008281, allocations: 1.531 kB / 0.7358 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001489/0.00843, allocations: 35.89 kB / 0.7359 GB, free: 13.6 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 0.0001214/0.008551, allocations: 91.09 kB / 0.736 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.008684, allocations: 86.47 kB / 0.736 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.008694, allocations: 4 kB / 0.736 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.008743, allocations: 52.72 kB / 0.7361 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.008938, allocations: 38.03 kB / 0.7361 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/0.009753, allocations: 366.4 kB / 0.7365 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.472e-05/0.009808, allocations: 76.69 kB / 0.7366 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.009857, allocations: 17.48 kB / 0.7366 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.009944, allocations: 75.38 kB / 0.7366 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/0.009945, allocations: 0 / 0.7366 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.003852/0.0138, allocations: 1.906 MB / 0.7385 GB, free: 10.94 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.981014651246369]