Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009985/0.0009985, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.002695, allocations: 440 kB / 10.41 MB, free: 284 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.001025/0.001025, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002425, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9355/0.9355, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08153/1.017, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.367/2.367, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2253/2.593, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.783e-05, allocations: 8.781 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001222/0.00124, allocations: 0.7564 MB / 0.8197 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006993/0.001939, allocations: 0.8819 MB / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.001966, allocations: 0 / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.001986, allocations: 4 kB / 0.8205 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.002022, allocations: 11.92 kB / 0.8206 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.553e-05/0.002087, allocations: 27.91 kB / 0.8206 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.027e-05/0.002148, allocations: 35.92 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.818e-05/0.002216, allocations: 19.86 kB / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.002293, allocations: 35.95 kB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.002351, allocations: 19.92 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.002371, allocations: 4 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.002381, allocations: 4 kB / 0.8207 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.002396, allocations: 8 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.002413, allocations: 15.94 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.038e-05/0.002483, allocations: 27.91 kB / 0.8207 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.002491, allocations: 0 / 0.8207 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002492, allocations: 0 / 0.8207 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.002502, allocations: 0 / 0.8207 GB, free: 0.6094 MB / 0.7917 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.0002999/0.002801, allocations: 256.5 kB / 0.821 GB, free: 344 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.00283, allocations: 8.031 kB / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.002852, allocations: 4.938 kB / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.133e-05/0.002924, allocations: 113.7 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.002938, allocations: 4.359 kB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.002951, allocations: 12.38 kB / 0.8211 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.38e-05/0.003044, allocations: 62.92 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003051, allocations: 3.938 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.003058, allocations: 4 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.003063, allocations: 4 kB / 0.8212 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.003091, allocations: 15.97 kB / 0.8212 GB, free: 76 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.003303, allocations: 176.1 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.37e-05/0.003366, allocations: 34.62 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.003386, allocations: 16.86 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.003399, allocations: 7.938 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.003415, allocations: 30.56 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.003416, allocations: 0 / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 9.919e-05/0.003515, allocations: 53.61 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.00354, allocations: 55.41 kB / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.608e-05/0.003586, allocations: 114.7 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.003595, allocations: 29.7 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.00362, allocations: 80.14 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.003636, allocations: 11.91 kB / 0.8218 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.003663, allocations: 25.69 kB / 0.8218 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.003732, allocations: 314.8 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.003745, allocations: 4 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.003762, allocations: 7.984 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.814e-05/0.00381, allocations: 25.11 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.003812, allocations: 0 / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.653e-05/0.003888, allocations: 49.56 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.003899, allocations: 4 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.003903, allocations: 0 / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.003914, allocations: 4 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.003986, allocations: 15.98 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.003988, allocations: 0 / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.004011, allocations: 4 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-06/0.004014, allocations: 3.938 kB / 0.8222 GB, free: 14.93 MB / 0.8073 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 4.973e-05/0.004064, allocations: 113.8 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.00408, allocations: 7.938 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.004098, allocations: 4 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.004099, allocations: 0 / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.004101, allocations: 0 / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.004106, allocations: 4 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.004219, allocations: 81.88 kB / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.00422, allocations: 0 / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.004272, allocations: 11.98 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.00428, allocations: 7.891 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.004283, allocations: 7.938 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.004287, allocations: 3.938 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.004288, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.00429, allocations: 3.984 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.004398, allocations: 135.5 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.004411, allocations: 3.938 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.004483, allocations: 12 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.00452, allocations: 7.969 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.004527, allocations: 8.25 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.612e-05/0.004543, allocations: 16.84 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004543, allocations: 0 / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001139/0.004657, allocations: 8 kB / 0.8226 GB, free: 14.45 MB / 0.8073 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 6.332e-05/0.00472, allocations: 72.42 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.004783, allocations: 28.78 kB / 0.8227 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.004787, allocations: 0 / 0.8227 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.004819, allocations: 32.78 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.004953, allocations: 43.11 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.005343, allocations: 124.7 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.321e-05/0.005377, allocations: 59.34 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.005405, allocations: 8 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.005463, allocations: 59.36 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.005463, allocations: 0 / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of Templates: time 0.002401/0.007864, allocations: 0.9716 MB / 0.824 GB, free: 13 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs/Buildings_latest_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.897424045018852]