Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.00201/0.00201, allocations: 108 kB / 16.45 MB, free: 6.391 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.002422/0.002422, allocations: 209.7 kB / 19.43 MB, free: 3.73 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.863/2.863, allocations: 476.7 MB / 0.7672 GB, free: 5.258 MB / 0.6231 GB " [Timeout remaining time 176] 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.Reals.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.001907/0.001907, allocations: 71.88 kB / 1.112 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002007/1.085, allocations: 0.6807 MB / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001139/1.086, allocations: 0.8744 MB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/1.086, allocations: 0 / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/1.086, allocations: 3.938 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/1.086, allocations: 0 / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/1.086, allocations: 19.92 kB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/1.086, allocations: 23.97 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/1.086, allocations: 4 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/1.086, allocations: 15.92 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/1.087, allocations: 8 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/1.087, allocations: 3.938 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/1.087, allocations: 7.938 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/1.087, allocations: 3.984 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/1.087, allocations: 7.938 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.369e-05/1.087, allocations: 21.78 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.087, allocations: 0 / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/1.087, allocations: 8 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.087, allocations: 0 / 1.28 GB, free: 11.74 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004957/1.087, allocations: 335.5 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.087, allocations: 8.031 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/1.087, allocations: 30.75 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/1.087, allocations: 4.938 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.087, allocations: 168.3 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/1.087, allocations: 384 / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/1.087, allocations: 12.31 kB / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/1.088, allocations: 46.23 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.088, allocations: 11.92 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/1.088, allocations: 7.938 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/1.088, allocations: 0 / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/1.088, allocations: 27.97 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/1.088, allocations: 252.9 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/1.088, allocations: 38.5 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/1.088, allocations: 20.91 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/1.088, allocations: 0 / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/1.088, allocations: 34.5 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/1.088, allocations: 0 / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003602/1.089, allocations: 85.64 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.089, allocations: 51.41 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/1.089, allocations: 101.8 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/1.089, allocations: 29.64 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/1.089, allocations: 84.14 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/1.089, allocations: 3.953 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/1.089, allocations: 21.84 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.089, allocations: 314.8 kB / 1.282 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/1.089, allocations: 15.98 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/1.089, allocations: 15.92 kB / 1.282 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/1.089, allocations: 44.88 kB / 1.282 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.09, allocations: 3.938 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002076/1.09, allocations: 61.67 kB / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.09, allocations: 6.188 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.09, allocations: 0 / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/1.09, allocations: 0 / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/1.09, allocations: 11.98 kB / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.09, allocations: 0 / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/1.09, allocations: 16.02 kB / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/1.09, allocations: 0 / 1.282 GB, free: 9.68 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001027/1.09, allocations: 113.8 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/1.09, allocations: 7.891 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/1.09, allocations: 3.125 kB / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.09, allocations: 4 kB / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.09, allocations: 3.938 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.09, allocations: 7.984 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/1.09, allocations: 157.6 kB / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.09, allocations: 4 kB / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/1.09, allocations: 11.98 kB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/1.09, allocations: 0 / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/1.09, allocations: 0 / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/1.09, allocations: 4 kB / 1.282 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.09, allocations: 0 / 1.282 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/1.091, allocations: 163.5 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/1.091, allocations: 77.11 kB / 1.282 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/1.091, allocations: 0 / 1.282 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/1.091, allocations: 11.98 kB / 1.282 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/1.091, allocations: 0 / 1.282 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/1.091, allocations: 0 / 1.282 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.101e-05/1.091, allocations: 83.22 kB / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/1.091, allocations: 0 / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002146/1.091, allocations: 4 kB / 1.282 GB, free: 8.938 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006193/1.092, allocations: 0.7012 MB / 1.283 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002184/1.092, allocations: 39.94 kB / 1.283 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.092, allocations: 0 / 1.283 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/1.092, allocations: 23.92 kB / 1.283 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/1.092, allocations: 8.312 kB / 1.283 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/1.093, allocations: 135.2 kB / 1.283 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/1.093, allocations: 0.6806 MB / 1.284 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.327e-05/1.093, allocations: 4.125 kB / 1.284 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/1.093, allocations: 7.438 kB / 1.284 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/1.093, allocations: 0 / 1.284 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/1.118, allocations: 1.288 MB / 1.285 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/9.042, allocations: 6.047 kB / 1.285 GB, free: 6.043 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.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_Reals_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.Abs_res.csv. Warning: Get data of variable abs1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.448769228998572]