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.001437/0.001437, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001655/0.001655, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.851/2.851, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_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.002151/0.002151, allocations: 72.42 kB / 1.117 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3617, allocations: 169.9 MB / 1.283 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002092/0.3638, allocations: 0.6848 MB / 1.283 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3649, allocations: 0.8587 MB / 1.284 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.3649, allocations: 0 / 1.284 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.3649, allocations: 3.938 kB / 1.284 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.365, allocations: 3.938 kB / 1.284 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.3652, allocations: 27.92 kB / 1.284 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.3652, allocations: 43.97 kB / 1.284 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3654, allocations: 11.98 kB / 1.284 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.963e-05/0.3654, allocations: 27.86 kB / 1.284 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.3655, allocations: 23.91 kB / 1.284 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3655, allocations: 4 kB / 1.284 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.3655, allocations: 4 kB / 1.284 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.3656, allocations: 7.984 kB / 1.284 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.3656, allocations: 23.86 kB / 1.284 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3657, allocations: 48.08 kB / 1.284 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3657, allocations: 0 / 1.284 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3657, allocations: 0 / 1.284 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3657, allocations: 7.938 kB / 1.284 GB, free: 2.383 MB / 0.9825 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.0005482/0.3663, allocations: 274.3 kB / 1.285 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3663, allocations: 12.03 kB / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.3663, allocations: 30.75 kB / 1.285 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.3664, allocations: 8.891 kB / 1.285 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3665, allocations: 110.5 kB / 1.285 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3665, allocations: 8.312 kB / 1.285 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3665, allocations: 4.125 kB / 1.285 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3668, allocations: 65.66 kB / 1.285 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3668, allocations: 4 kB / 1.285 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3668, allocations: 7.984 kB / 1.285 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3668, allocations: 4 kB / 1.285 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.367, allocations: 51.92 kB / 1.285 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.3674, allocations: 259.8 kB / 1.285 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3676, allocations: 66.53 kB / 1.285 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3678, allocations: 28.91 kB / 1.285 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3678, allocations: 4 kB / 1.285 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3678, allocations: 34.56 kB / 1.285 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3678, allocations: 0 / 1.285 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004137/0.3682, allocations: 109.6 kB / 1.285 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3683, allocations: 51.41 kB / 1.285 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.3684, allocations: 109.8 kB / 1.286 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3684, allocations: 29.64 kB / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.3684, allocations: 88.09 kB / 1.286 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3684, allocations: 11.95 kB / 1.286 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3685, allocations: 21.7 kB / 1.286 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3686, allocations: 318.8 kB / 1.286 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3687, allocations: 23.97 kB / 1.286 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.3688, allocations: 19.98 kB / 1.286 GB, free: 488 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.369, allocations: 56.81 kB / 1.286 GB, free: 428 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.369, allocations: 0 / 1.286 GB, free: 428 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002439/0.3693, allocations: 97.53 kB / 1.286 GB, free: 324 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3693, allocations: 4 kB / 1.286 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3693, allocations: 0 / 1.286 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3693, allocations: 0 / 1.286 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3694, allocations: 15.98 kB / 1.286 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3694, allocations: 0 / 1.286 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.3695, allocations: 7.984 kB / 1.286 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.3695, allocations: 3.938 kB / 1.286 GB, free: 292 kB / 0.9825 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 9.145e-05/0.3696, allocations: 118.2 kB / 1.286 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3696, allocations: 0 / 1.286 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.3696, allocations: 15.97 kB / 1.286 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3697, allocations: 3.938 kB / 1.286 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3697, allocations: 0 / 1.286 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3697, allocations: 0 / 1.286 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.3698, allocations: 148.6 kB / 1.286 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3698, allocations: 0 / 1.286 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.33e-05/0.3699, allocations: 15.98 kB / 1.286 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3699, allocations: 0 / 1.286 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.37, allocations: 4 kB / 1.286 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.37, allocations: 3.938 kB / 1.286 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.37, allocations: 3.984 kB / 1.286 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.3703, allocations: 179.5 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.3703, allocations: 4.234 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.3703, allocations: 4 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.3704, allocations: 11.94 kB / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.3704, allocations: 11.97 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3704, allocations: 4 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.3705, allocations: 91.22 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3705, allocations: 0 / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002235/0.3707, allocations: 11.95 kB / 1.287 GB, free: 15.59 MB / 0.9981 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.0006227/0.3713, allocations: 0.7163 MB / 1.287 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.3716, allocations: 51.95 kB / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3716, allocations: 4 kB / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.3717, allocations: 35.91 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.372, allocations: 4.078 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3736, allocations: 1.317 MB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.3737, allocations: 71.34 kB / 1.289 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.3738, allocations: 4.094 kB / 1.289 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.3738, allocations: 19.36 kB / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3738, allocations: 0 / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.4045, allocations: 2.396 MB / 1.291 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.7, allocations: 4.062 kB / 1.291 GB, free: 10.99 MB / 0.9981 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/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] "Error: Could not read variable abs1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv. Warning: Get data of variable abs1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv failed! Error: Could not read variable abs1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv. Warning: Get data of variable abs1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.423601299058646]