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.001896/0.001896, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002292/0.002292, allocations: 213.8 kB / 22.24 MB, free: 5.262 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.805 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.354/3.354, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.002116/0.002116, allocations: 71.39 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4527, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002587/0.4553, allocations: 0.7066 MB / 1.326 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.4566, allocations: 0.8515 MB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.4567, allocations: 3.938 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.4567, allocations: 3.984 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.989e-05/0.4568, allocations: 3.938 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.457, allocations: 31.91 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.4571, allocations: 47.84 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.4573, allocations: 11.98 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.4574, allocations: 15.94 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.945e-05/0.4575, allocations: 31.89 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.4575, allocations: 4 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.82e-05/0.4575, allocations: 4 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.4575, allocations: 11.98 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.4576, allocations: 7.938 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.4578, allocations: 59.72 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4578, allocations: 4 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4578, allocations: 0 / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.4579, allocations: 0 / 1.327 GB, free: 128 kB / 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.0007983/0.4587, allocations: 268.2 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.4587, allocations: 16.02 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.4588, allocations: 8.891 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.4589, allocations: 110.5 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.459, allocations: 4.375 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.459, allocations: 384 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.4592, allocations: 77.59 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4593, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4593, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.4593, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.4595, allocations: 51.94 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.4602, allocations: 236.3 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.4604, allocations: 62.55 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4605, allocations: 36.91 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.4605, allocations: 0 / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.4605, allocations: 30.56 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.4605, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004414/0.461, allocations: 109.6 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.461, allocations: 59.39 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4611, allocations: 109.8 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4612, allocations: 25.7 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.4612, allocations: 92.06 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4613, allocations: 11.95 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.4613, allocations: 13.72 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4615, allocations: 322.8 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.4616, allocations: 19.98 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.116e-05/0.4617, allocations: 27.97 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.4618, allocations: 52.81 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4618, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000243/0.4621, allocations: 101.8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4621, allocations: 8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4621, allocations: 4.234 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4621, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4623, allocations: 15.98 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4623, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.4623, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.4623, allocations: 7.984 kB / 1.329 GB, free: 14.11 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.0001813/0.4625, allocations: 117.8 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.4625, allocations: 4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.4626, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4626, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4626, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4626, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.4628, allocations: 125.1 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4628, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.4628, allocations: 15.92 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4629, allocations: 3.984 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4629, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.4629, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4629, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.4632, allocations: 183.4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.4632, allocations: 7.953 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.4632, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.4633, allocations: 7.984 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.4634, allocations: 11.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.4634, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.469e-05/0.4634, allocations: 83.28 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4634, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002196/0.4637, allocations: 8 kB / 1.33 GB, free: 13.46 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.0001489/0.4638, allocations: 109.1 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.4641, allocations: 51.95 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4641, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4642, allocations: 35.97 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.4645, allocations: 11.88 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.4649, allocations: 125.6 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.922e-05/0.4649, allocations: 71.22 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.465, allocations: 4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.465, allocations: 19.42 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.465, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of Templates: time 0.004067/0.4691, allocations: 0.9704 MB / 1.331 GB, free: 12.03 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.642364870756865]