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.002069/0.002069, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002571/0.002571, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.497/1.497, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.073/3.073, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.434e-06/2.434e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.143e-05, allocations: 2.281 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001964/0.001995, allocations: 0.6994 MB / 1.001 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003251, allocations: 0.8587 MB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.003304, allocations: 4 kB / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.003342, allocations: 3.938 kB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.003417, allocations: 11.86 kB / 1.002 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.003606, allocations: 23.91 kB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.003715, allocations: 43.92 kB / 1.002 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.003854, allocations: 15.97 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.003953, allocations: 23.92 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.004022, allocations: 23.97 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.004055, allocations: 4 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.004068, allocations: 4 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.004095, allocations: 7.984 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.004128, allocations: 19.92 kB / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.004253, allocations: 51.84 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.004256, allocations: 3.938 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004257, allocations: 0 / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.004262, allocations: 0 / 1.002 GB, free: 5.469 MB / 0.9512 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.0005956/0.004858, allocations: 274.3 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.004901, allocations: 16.03 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.004941, allocations: 4.891 kB / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.00509, allocations: 109.7 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.005106, allocations: 4.375 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.005122, allocations: 384 / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.005349, allocations: 74.2 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.005362, allocations: 3.938 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.005373, allocations: 0 / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.00538, allocations: 3.984 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.005607, allocations: 55.89 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.006036, allocations: 228.5 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.006256, allocations: 74.41 kB / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.006375, allocations: 28.92 kB / 1.003 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.006388, allocations: 0 / 1.003 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.006425, allocations: 34.5 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.006426, allocations: 0 / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000491/0.006917, allocations: 113.6 kB / 1.003 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.00697, allocations: 55.41 kB / 1.003 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.00709, allocations: 109.8 kB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.007113, allocations: 25.7 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.007186, allocations: 84.09 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.007213, allocations: 15.89 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.007267, allocations: 17.7 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.007439, allocations: 314.8 kB / 1.003 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.007556, allocations: 27.97 kB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.007673, allocations: 27.92 kB / 1.004 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.007977, allocations: 52.81 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.007985, allocations: 3.938 kB / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002795/0.008265, allocations: 89.59 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.008282, allocations: 11.94 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008287, allocations: 256 / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.008309, allocations: 4 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.008446, allocations: 15.98 kB / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.008451, allocations: 0 / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.008523, allocations: 7.984 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.008534, allocations: 4 kB / 1.004 GB, free: 3.441 MB / 0.9512 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.0001668/0.0087, allocations: 117.7 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.00873, allocations: 4 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.008755, allocations: 4 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008757, allocations: 336 / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.008762, allocations: 4 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008765, allocations: 0 / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.008932, allocations: 121.3 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.008937, allocations: 7.922 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.843e-05/0.009035, allocations: 11.98 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009038, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.009047, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009049, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.009053, allocations: 4 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.009438, allocations: 183.5 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.009451, allocations: 7.938 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.00947, allocations: 11.94 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.009571, allocations: 7.984 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.00964, allocations: 11.92 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.009645, allocations: 4 kB / 1.004 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.009712, allocations: 83.27 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.009712, allocations: 0 / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003059/0.01002, allocations: 12 kB / 1.004 GB, free: 2.797 MB / 0.9512 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.0001448/0.01016, allocations: 99.23 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.01045, allocations: 51.95 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.01045, allocations: 0 / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.01058, allocations: 39.91 kB / 1.004 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.01089, allocations: 7.922 kB / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.0113, allocations: 128.8 kB / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.023e-05/0.01139, allocations: 79.23 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.564e-05/0.01144, allocations: 3.984 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.01149, allocations: 12.5 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.01149, allocations: 0 / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of Templates: time 0.004214/0.01571, allocations: 0.9563 MB / 1.006 GB, free: 1.379 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.577550187706947]