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.001065/0.001065, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.00247, allocations: 435.8 kB / 10.33 MB, free: 364 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.00161/0.00161, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001929/0.003539, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.112, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.489/2.489, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2721/2.761, allocations: 145.9 MB / 0.817 GB, free: 4.184 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 2.164e-06/2.164e-06, allocations: 0 / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.624e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001943/0.001969, allocations: 0.7641 MB / 0.8191 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.002984, allocations: 0.8819 MB / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.003022, allocations: 4 kB / 0.8199 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.003049, allocations: 3.938 kB / 0.8199 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.003097, allocations: 3.938 kB / 0.8199 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.181e-05/0.003188, allocations: 23.91 kB / 0.8199 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.00328, allocations: 47.91 kB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.003376, allocations: 7.938 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003483, allocations: 35.97 kB / 0.82 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.003561, allocations: 27.89 kB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.003588, allocations: 4 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.003601, allocations: 4 kB / 0.8201 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.003618, allocations: 4 kB / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.003645, allocations: 11.94 kB / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003749, allocations: 31.86 kB / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.735e-05/0.003767, allocations: 0 / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.272e-06/0.003768, allocations: 0 / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.003786, allocations: 0 / 0.8201 GB, free: 0.9922 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.0004596/0.004245, allocations: 252.5 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.004287, allocations: 16.62 kB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.004327, allocations: 12.86 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.004435, allocations: 105.8 kB / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.004457, allocations: 4.375 kB / 0.8205 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.00447, allocations: 4.375 kB / 0.8205 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.004631, allocations: 70.86 kB / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.004641, allocations: 3.938 kB / 0.8206 GB, free: 488 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004651, allocations: 4 kB / 0.8206 GB, free: 484 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.004658, allocations: 0 / 0.8206 GB, free: 484 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.004697, allocations: 8 kB / 0.8206 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.005015, allocations: 176.2 kB / 0.8207 GB, free: 284 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.00512, allocations: 34.56 kB / 0.8208 GB, free: 240 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.005148, allocations: 16.78 kB / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.005165, allocations: 3.938 kB / 0.8208 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.005194, allocations: 38.64 kB / 0.8208 GB, free: 168 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.005195, allocations: 0 / 0.8208 GB, free: 168 kB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001625/0.005358, allocations: 45.69 kB / 0.8209 GB, free: 116 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.005395, allocations: 51.41 kB / 0.8209 GB, free: 52 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.005487, allocations: 114.7 kB / 0.821 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.005501, allocations: 25.7 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.005544, allocations: 92.12 kB / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.005567, allocations: 15.89 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.00561, allocations: 13.72 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.005707, allocations: 322.8 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.005729, allocations: 7.984 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/0.005744, allocations: 4 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.005787, allocations: 16.84 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.005789, allocations: 0 / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.244e-05/0.005872, allocations: 53.62 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.005885, allocations: 4 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.00589, allocations: 0 / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.0059, allocations: 336 / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.00601, allocations: 15.92 kB / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.006015, allocations: 4 kB / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.912e-05/0.006055, allocations: 11.92 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.006061, allocations: 0 / 0.8216 GB, free: 15.32 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 8.481e-05/0.006146, allocations: 113.8 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.006176, allocations: 7.938 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.006204, allocations: 12 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.006206, allocations: 0 / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.006208, allocations: 0 / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.006213, allocations: 3.984 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.006352, allocations: 69.89 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.006355, allocations: 4 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.882e-05/0.006424, allocations: 11.98 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.006439, allocations: 15.88 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.006443, allocations: 3.938 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.006449, allocations: 0 / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.006452, allocations: 8.25 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.006453, allocations: 0 / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.006598, allocations: 147.5 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.006612, allocations: 3.938 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.006678, allocations: 3.984 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.006736, allocations: 11.98 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.006741, allocations: 0 / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.85e-05/0.006759, allocations: 12.86 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006759, allocations: 0 / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002116/0.006971, allocations: 4 kB / 0.822 GB, free: 14.84 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 0.0001205/0.007091, allocations: 90.94 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.706e-05/0.007178, allocations: 24.83 kB / 0.8221 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.403e-06/0.007185, allocations: 3.938 kB / 0.8221 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.00722, allocations: 16.86 kB / 0.8221 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.007429, allocations: 11.98 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.00791, allocations: 128.7 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.45e-05/0.007954, allocations: 59.34 kB / 0.8223 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.994e-05/0.007994, allocations: 8 kB / 0.8223 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.00807, allocations: 55.36 kB / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.008071, allocations: 0 / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.003211/0.01128, allocations: 0.9948 MB / 0.8234 GB, free: 13.41 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4022133918479085]