Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.001079/0.001079, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001202/0.002281, 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.0007785/0.0007785, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009967/0.001775, 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.9647/0.9647, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09974/1.064, allocations: 53.66 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.906/1.906, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5307/2.437, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.177e-05, allocations: 6.312 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002236/0.002258, allocations: 0.7652 MB / 0.7304 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.003278, allocations: 0.8841 MB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.00331, allocations: 1.219 kB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.003335, allocations: 0 / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.003384, allocations: 9.469 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.701e-05/0.003471, allocations: 26.94 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.557e-05/0.003566, allocations: 50.2 kB / 0.7313 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.003651, allocations: 15.94 kB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.003753, allocations: 34.7 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.003829, allocations: 20.95 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.003857, allocations: 4.656 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.003871, allocations: 4 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.00389, allocations: 5.531 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.003914, allocations: 10.14 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.004019, allocations: 30.97 kB / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.004031, allocations: 4.531 kB / 0.7315 GB, free: 2.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004031, allocations: 1.562 kB / 0.7315 GB, free: 2.586 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.004047, allocations: 0.7656 kB / 0.7315 GB, free: 2.586 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004845/0.004532, allocations: 248.6 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.004572, allocations: 12.03 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.004614, allocations: 5.891 kB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.004728, allocations: 109.7 kB / 0.7318 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.00475, allocations: 4.875 kB / 0.7318 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.004764, allocations: 384 / 0.7318 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.004921, allocations: 76.73 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.00493, allocations: 3.938 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.004939, allocations: 1.719 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004946, allocations: 0 / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.004985, allocations: 8 kB / 0.7319 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.005276, allocations: 177 kB / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.319e-05/0.005369, allocations: 39.81 kB / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.005393, allocations: 12.92 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.00541, allocations: 4.594 kB / 0.7321 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.005436, allocations: 38.55 kB / 0.7322 GB, free: 1.773 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005437, allocations: 1.125 kB / 0.7322 GB, free: 1.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001496/0.005587, allocations: 49.62 kB / 0.7322 GB, free: 1.719 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.005617, allocations: 51.41 kB / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.005687, allocations: 112.5 kB / 0.7324 GB, free: 1.535 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.005701, allocations: 25.7 kB / 0.7324 GB, free: 1.504 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.005742, allocations: 92.86 kB / 0.7325 GB, free: 1.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.005762, allocations: 7.938 kB / 0.7325 GB, free: 1.402 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.005797, allocations: 18.34 kB / 0.7325 GB, free: 1.379 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.005895, allocations: 318.8 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.005911, allocations: 5.891 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.005926, allocations: 4 kB / 0.7328 GB, free: 1.051 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.005977, allocations: 21.53 kB / 0.7329 GB, free: 1.027 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005979, allocations: 1.656 kB / 0.7329 GB, free: 1.027 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.88e-05/0.006058, allocations: 49.56 kB / 0.7329 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.006071, allocations: 8 kB / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006076, allocations: 4.656 kB / 0.7329 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.006091, allocations: 0 / 0.7329 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.006196, allocations: 13.39 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.0062, allocations: 1.094 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.006236, allocations: 7.984 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006242, allocations: 336 / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.766e-05/0.00631, allocations: 115.4 kB / 0.7331 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.006336, allocations: 7.922 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.021e-05/0.006417, allocations: 8 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006419, allocations: 0.7812 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.006421, allocations: 0 / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.006426, allocations: 5.328 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.006552, allocations: 73.89 kB / 0.7331 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.006555, allocations: 0.6562 kB / 0.7331 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.006612, allocations: 11.98 kB / 0.7332 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.006624, allocations: 13.19 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.006627, allocations: 3.938 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.006633, allocations: 3.938 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.006635, allocations: 1.25 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006636, allocations: 3.938 kB / 0.7332 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.00675, allocations: 135.5 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.006765, allocations: 8.938 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.00683, allocations: 3.984 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.006878, allocations: 11.98 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.006882, allocations: 0.5312 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.817e-05/0.006901, allocations: 14.05 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.006901, allocations: 0 / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002039/0.007105, allocations: 11.94 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.087e-05/0.007186, allocations: 85.14 kB / 0.7334 GB, free: 388 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.32e-05/0.007269, allocations: 26 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.007274, allocations: 0 / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.007528, allocations: 21.39 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.007739, allocations: 39.08 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.008199, allocations: 129.3 kB / 0.7336 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.817e-05/0.008237, allocations: 57.17 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.008275, allocations: 9.359 kB / 0.7337 GB, free: 52 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.008365, allocations: 59.42 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/0.008366, allocations: 0 / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.003238/0.0116, allocations: 0.9635 MB / 0.7347 GB, free: 15.07 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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: 4.940211436711252]