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.001341/0.001341, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002194/0.002194, allocations: 219 kB / 22.26 MB, free: 5.125 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.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.482/3.482, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [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.002058/0.002058, allocations: 61.23 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3842, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00227/0.3865, allocations: 0.6997 MB / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3877, allocations: 0.8705 MB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.3878, allocations: 4 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.3878, allocations: 3.938 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.3879, allocations: 7.938 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.3881, allocations: 19.97 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3882, allocations: 47.84 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3883, allocations: 11.98 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.3884, allocations: 23.92 kB / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.3885, allocations: 23.91 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3885, allocations: 4 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.3885, allocations: 4 kB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.3885, allocations: 19.98 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.3885, allocations: 19.88 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3887, allocations: 52 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3887, allocations: 0 / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3887, allocations: 0 / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3887, allocations: 0 / 1.355 GB, free: 6.637 MB / 1.045 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.0005409/0.3892, allocations: 278.2 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3893, allocations: 12.03 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.3893, allocations: 30.75 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.3893, allocations: 8.938 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3895, allocations: 114.5 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3895, allocations: 4.375 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3895, allocations: 4.125 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3897, allocations: 77.56 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3897, allocations: 0 / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3897, allocations: 3.938 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3897, allocations: 4 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.39, allocations: 51.95 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.3904, allocations: 263.8 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.3906, allocations: 66.47 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3908, allocations: 28.92 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3908, allocations: 4 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3908, allocations: 34.56 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3908, allocations: 0 / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004397/0.3912, allocations: 117.5 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.3913, allocations: 55.34 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.3914, allocations: 105.8 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3915, allocations: 29.7 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.3916, allocations: 92.08 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.3916, allocations: 7.906 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.3917, allocations: 21.7 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3919, allocations: 314.8 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.392, allocations: 23.97 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3921, allocations: 27.98 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.3923, allocations: 52.81 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3923, allocations: 0 / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002652/0.3926, allocations: 85.64 kB / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.3926, allocations: 8 kB / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3926, allocations: 0 / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3926, allocations: 0 / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3928, allocations: 15.92 kB / 1.356 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3928, allocations: 4 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.3929, allocations: 7.984 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3929, allocations: 7.938 kB / 1.357 GB, free: 4.52 MB / 1.045 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.0001499/0.393, allocations: 113.8 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3931, allocations: 7.953 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.3931, allocations: 8 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3931, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.3931, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3932, allocations: 7.984 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3934, allocations: 148.6 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3934, allocations: 0 / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.454e-05/0.3935, allocations: 12.23 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3935, allocations: 0 / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3935, allocations: 8 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3935, allocations: 3.984 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3935, allocations: 0 / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.3938, allocations: 195.3 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.3939, allocations: 11.89 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3939, allocations: 0 / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.394, allocations: 4 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.3941, allocations: 11.97 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3941, allocations: 4 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.438e-05/0.3942, allocations: 87.22 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3942, allocations: 0 / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000248/0.3944, allocations: 12 kB / 1.357 GB, free: 3.824 MB / 1.045 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.0007878/0.3952, allocations: 0.7167 MB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.3955, allocations: 55.95 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3955, allocations: 0 / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3956, allocations: 31.97 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.3961, allocations: 4 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3982, allocations: 1.315 MB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.3986, allocations: 0.6846 MB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.3986, allocations: 4 kB / 1.36 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.3987, allocations: 23.42 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of SimCode: time 1.452e-06/0.3987, allocations: 0 / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.4273, allocations: 1.95 MB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.37, allocations: 4.062 kB / 1.362 GB, free: 15.04 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 18.564019902143627]