Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001422/0.001422, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001624/0.001624, allocations: 166.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.509/1.509, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.806/2.806, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.139e-05, allocations: 2.281 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001876/0.001908, allocations: 0.6903 MB / 0.9517 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.003162, allocations: 0.8548 MB / 0.9525 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.003213, allocations: 4 kB / 0.9525 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.003244, allocations: 7.922 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.003319, allocations: 3.938 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.003479, allocations: 23.92 kB / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.828e-05/0.003577, allocations: 47.89 kB / 0.9526 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.003679, allocations: 15.92 kB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.003779, allocations: 35.91 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.003852, allocations: 19.97 kB / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.003876, allocations: 4 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.00389, allocations: 4 kB / 0.9527 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.003912, allocations: 7.984 kB / 0.9527 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.003939, allocations: 11.94 kB / 0.9527 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.004061, allocations: 55.89 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.004063, allocations: 3.938 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004064, allocations: 0 / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004068, allocations: 0 / 0.9527 GB, free: 9.789 MB / 0.8575 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.0006349/0.004703, allocations: 274.2 kB / 0.953 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.004747, allocations: 15.97 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.004778, allocations: 0.9375 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.00497, allocations: 121.7 kB / 0.9531 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.004991, allocations: 8.312 kB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.005007, allocations: 384 / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.005229, allocations: 66.22 kB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.005241, allocations: 3.938 kB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.005253, allocations: 0 / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005258, allocations: 0 / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.005486, allocations: 55.95 kB / 0.9532 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.005913, allocations: 232.5 kB / 0.9535 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.00614, allocations: 62.48 kB / 0.9535 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.006271, allocations: 36.91 kB / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.006289, allocations: 0 / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.006317, allocations: 30.56 kB / 0.9536 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006318, allocations: 4 kB / 0.9536 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000456/0.006774, allocations: 113.5 kB / 0.9537 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.006817, allocations: 55.41 kB / 0.9538 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.006916, allocations: 105.8 kB / 0.9539 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.006934, allocations: 25.7 kB / 0.9539 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.006988, allocations: 84.14 kB / 0.954 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.007011, allocations: 15.89 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.007054, allocations: 17.72 kB / 0.954 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.007209, allocations: 318.8 kB / 0.9543 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.00732, allocations: 23.98 kB / 0.9543 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.007423, allocations: 28.22 kB / 0.9544 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.007634, allocations: 52.75 kB / 0.9544 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.007643, allocations: 7.938 kB / 0.9544 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002577/0.0079, allocations: 81.66 kB / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.007923, allocations: 15.94 kB / 0.9545 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.007927, allocations: 0 / 0.9545 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.007944, allocations: 3.984 kB / 0.9545 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.008072, allocations: 11.98 kB / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.008076, allocations: 0 / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.008147, allocations: 7.938 kB / 0.9545 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.00816, allocations: 8 kB / 0.9545 GB, free: 7.766 MB / 0.8575 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 0.0001001/0.00826, allocations: 114.1 kB / 0.9546 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.008294, allocations: 7.953 kB / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.008324, allocations: 15.98 kB / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008325, allocations: 0 / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.008329, allocations: 3.938 kB / 0.9547 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008332, allocations: 0 / 0.9547 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.008499, allocations: 117.3 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.008502, allocations: 3.938 kB / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.008599, allocations: 11.98 kB / 0.9548 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008601, allocations: 3.938 kB / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.00861, allocations: 0 / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.008615, allocations: 7.984 kB / 0.9548 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008616, allocations: 0 / 0.9548 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.008959, allocations: 179.5 kB / 0.955 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.008976, allocations: 11.89 kB / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.008993, allocations: 0 / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.009091, allocations: 4 kB / 0.955 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.009161, allocations: 15.97 kB / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.009166, allocations: 0 / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.009226, allocations: 87.22 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009226, allocations: 0 / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002228/0.009449, allocations: 12 kB / 0.9551 GB, free: 7.121 MB / 0.8575 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.0001266/0.009575, allocations: 99.23 kB / 0.9552 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.009843, allocations: 51.95 kB / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009844, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.009977, allocations: 31.97 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.0103, allocations: 11.94 kB / 0.9553 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.01068, allocations: 133.5 kB / 0.9554 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.01076, allocations: 67.28 kB / 0.9555 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.0108, allocations: 4 kB / 0.9555 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.01086, allocations: 16.5 kB / 0.9555 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.01086, allocations: 0 / 0.9555 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of Templates: time 0.00387/0.01473, allocations: 0.9753 MB / 0.9565 GB, free: 5.703 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.019691620022058]