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.00149/0.00149, allocations: 109.8 kB / 16.45 MB, free: 6.453 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.001453/0.001453, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.752/1.752, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.532/3.532, allocations: 0.4899 GB / 0.7916 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 68.44 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.393, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002022/0.395, allocations: 0.7043 MB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3962, allocations: 0.867 MB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.3962, allocations: 4 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.3962, allocations: 3.938 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.816e-05/0.3963, allocations: 3.938 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.3965, allocations: 23.97 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3966, allocations: 55.83 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3967, allocations: 8 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.3968, allocations: 23.86 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.42e-05/0.3969, allocations: 27.89 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.3969, allocations: 8 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.3969, allocations: 4 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.397, allocations: 4 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.397, allocations: 23.86 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.3971, allocations: 47.78 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3971, allocations: 4 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3971, allocations: 0 / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3972, allocations: 0 / 1.323 GB, free: 0.9766 MB / 1.014 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.0006309/0.3978, allocations: 355.4 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3978, allocations: 11.98 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.3979, allocations: 4.891 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.3981, allocations: 168.3 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.3981, allocations: 4.375 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3981, allocations: 8.375 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3984, allocations: 81.52 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3984, allocations: 0 / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3984, allocations: 0 / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3984, allocations: 0 / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.3986, allocations: 55.94 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.3991, allocations: 284.8 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.3994, allocations: 78.5 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.3995, allocations: 24.89 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3995, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.3996, allocations: 30.56 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3996, allocations: 0 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004782/0.4, allocations: 117.6 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.4001, allocations: 59.34 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.4002, allocations: 117.7 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4002, allocations: 25.7 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.4003, allocations: 80.14 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.4003, allocations: 15.91 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.4004, allocations: 21.7 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4005, allocations: 318.8 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4006, allocations: 19.98 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.4007, allocations: 23.97 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.401, allocations: 56.81 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.401, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002716/0.4012, allocations: 93.58 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4012, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4013, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4013, allocations: 4.328 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4014, allocations: 11.98 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4014, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.357e-05/0.4015, allocations: 7.984 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.4015, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 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.0001101/0.4016, allocations: 125.8 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.4016, allocations: 3.953 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.4017, allocations: 7.906 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4017, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4017, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.4017, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.4019, allocations: 181.5 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4019, allocations: 4 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.402, allocations: 11.98 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.402, allocations: 4 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.402, allocations: 256 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.402, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.402, allocations: 7.984 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.4023, allocations: 183.4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.4024, allocations: 85.05 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.4024, allocations: 3.938 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4025, allocations: 12 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.4026, allocations: 7.984 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4026, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.4027, allocations: 91.27 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4027, allocations: 0 / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002274/0.4029, allocations: 7.938 kB / 1.326 GB, free: 13.88 MB / 1.029 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.0001496/0.403, allocations: 103.2 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.4033, allocations: 59.88 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4033, allocations: 3.938 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.4035, allocations: 35.97 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4038, allocations: 6.188 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.4042, allocations: 125.6 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4046, allocations: 0.6884 MB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.57e-05/0.4047, allocations: 4 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.4047, allocations: 11.44 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4047, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of Templates: time 0.003935/0.4087, allocations: 0.8835 MB / 1.328 GB, free: 11.91 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.923227868974209]