Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001158/0.001158, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002091/0.003249, 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.001307/0.001307, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001778/0.003085, 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 1.011/1.011, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1024/1.114, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.884/1.884, allocations: 378.4 MB / 0.6079 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5206/2.405, allocations: 123.3 MB / 0.7283 GB, free: 5.676 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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 1.094 kB / 0.7297 GB, free: 4.297 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.359e-05, allocations: 5.266 kB / 0.7297 GB, free: 4.293 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.00213/0.002153, allocations: 0.723 MB / 0.7304 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003265, allocations: 0.904 MB / 0.7313 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.003298, allocations: 0 / 0.7313 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.003322, allocations: 0.6562 kB / 0.7313 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.003363, allocations: 6.234 kB / 0.7313 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.003464, allocations: 20.59 kB / 0.7313 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.588e-05/0.00354, allocations: 24.91 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.344e-05/0.003624, allocations: 8.531 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.003719, allocations: 18.06 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.003768, allocations: 4.875 kB / 0.7314 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.003795, allocations: 4 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-06/0.003805, allocations: 2.625 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.003825, allocations: 4.984 kB / 0.7314 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.003845, allocations: 5.312 kB / 0.7314 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.171e-05/0.003936, allocations: 9.734 kB / 0.7314 GB, free: 2.594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.00395, allocations: 4 kB / 0.7314 GB, free: 2.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003951, allocations: 0 / 0.7314 GB, free: 2.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.003967, allocations: 0 / 0.7314 GB, free: 2.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004507/0.004418, allocations: 233.8 kB / 0.7316 GB, free: 2.336 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.004457, allocations: 9.062 kB / 0.7316 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.004492, allocations: 8.859 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.004595, allocations: 110.8 kB / 0.7318 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.004605, allocations: 384 / 0.7318 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.004618, allocations: 4.375 kB / 0.7318 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.004747, allocations: 53.66 kB / 0.7318 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.004756, allocations: 192 / 0.7318 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.004764, allocations: 4.375 kB / 0.7318 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.004771, allocations: 384 / 0.7318 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.004797, allocations: 7.922 kB / 0.7318 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.005028, allocations: 145.1 kB / 0.732 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.152e-05/0.005089, allocations: 31.09 kB / 0.732 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.005111, allocations: 6.547 kB / 0.732 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.005132, allocations: 0 / 0.732 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.005162, allocations: 39.5 kB / 0.732 GB, free: 1.863 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.005163, allocations: 0 / 0.732 GB, free: 1.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001347/0.005298, allocations: 38.52 kB / 0.7321 GB, free: 1.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.005337, allocations: 55.34 kB / 0.7321 GB, free: 1.754 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.005411, allocations: 107.8 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.005424, allocations: 25.7 kB / 0.7323 GB, free: 1.605 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.005545, allocations: 84.14 kB / 0.7323 GB, free: 1.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.00557, allocations: 13.62 kB / 0.7324 GB, free: 1.508 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.005605, allocations: 18.47 kB / 0.7324 GB, free: 1.484 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.005704, allocations: 314.8 kB / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.005715, allocations: 0 / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.005727, allocations: 4 kB / 0.7327 GB, free: 1.164 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.005761, allocations: 10.08 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.005764, allocations: 0 / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.416e-05/0.005838, allocations: 42.28 kB / 0.7327 GB, free: 1.105 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.005854, allocations: 6.328 kB / 0.7327 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.00586, allocations: 0 / 0.7327 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.005878, allocations: 0 / 0.7327 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.00598, allocations: 12.45 kB / 0.7327 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.005984, allocations: 0 / 0.7327 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.006006, allocations: 4.531 kB / 0.7327 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.006011, allocations: 0.875 kB / 0.7327 GB, free: 1.086 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.392e-05/0.006075, allocations: 109.8 kB / 0.7329 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.006096, allocations: 0.5625 kB / 0.7329 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.006129, allocations: 7.969 kB / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.00613, allocations: 0 / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.006135, allocations: 9.391 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.006139, allocations: 3.984 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.006254, allocations: 66.95 kB / 0.7329 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.006256, allocations: 0 / 0.7329 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.0063, allocations: 5 kB / 0.7329 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.006311, allocations: 7.984 kB / 0.7329 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.006313, allocations: 0 / 0.7329 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.006318, allocations: 1.906 kB / 0.7329 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.006322, allocations: 3.938 kB / 0.733 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.006325, allocations: 7.922 kB / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.00643, allocations: 128.8 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.006439, allocations: 0 / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.006494, allocations: 4 kB / 0.7331 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.006523, allocations: 2.125 kB / 0.7331 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.006529, allocations: 4 kB / 0.7331 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.775e-05/0.006546, allocations: 16.78 kB / 0.7331 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.006546, allocations: 1.031 kB / 0.7331 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001953/0.006742, allocations: 7.953 kB / 0.7331 GB, free: 0.6641 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000113/0.006855, allocations: 76.95 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.825e-05/0.006933, allocations: 15.12 kB / 0.7332 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.006939, allocations: 4 kB / 0.7332 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/0.006965, allocations: 13.83 kB / 0.7332 GB, free: 0.543 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.007176, allocations: 34.92 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.007642, allocations: 105.6 kB / 0.7334 GB, free: 384 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.673e-05/0.007689, allocations: 59.34 kB / 0.7334 GB, free: 304 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.007713, allocations: 1.25 kB / 0.7334 GB, free: 304 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.007779, allocations: 55.94 kB / 0.7335 GB, free: 248 kB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/0.00778, allocations: 0.75 kB / 0.7335 GB, free: 248 kB / 0.698 GB Notification: Performance of Templates: time 0.002743/0.01052, allocations: 459.6 kB / 0.7339 GB, free: 15.81 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 5.019003697670996]