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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.526/2.526, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 71.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8026, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001569/0.8042, allocations: 0.6724 MB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.8049, allocations: 0.8535 MB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.8049, allocations: 0.5938 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.8049, allocations: 4.5 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.805, allocations: 5.469 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.8051, allocations: 9.797 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.997e-05/0.8052, allocations: 21.89 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.078e-05/0.8053, allocations: 7.781 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.8053, allocations: 12.78 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.8054, allocations: 9.922 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.8054, allocations: 1.875 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.8054, allocations: 5.656 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.8054, allocations: 6.203 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.8054, allocations: 10.58 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.6e-05/0.8055, allocations: 22.83 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.8055, allocations: 0 / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8055, allocations: 1.297 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.8055, allocations: 0 / 1.273 GB, free: 6.59 MB / 0.9981 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.0003169/0.8058, allocations: 336.4 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.8059, allocations: 9.344 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.15e-05/0.8059, allocations: 36.27 kB / 1.273 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.991e-05/0.8059, allocations: 6.641 kB / 1.273 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.732e-05/0.806, allocations: 167.1 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.806, allocations: 1.188 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.806, allocations: 5.844 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.8061, allocations: 49.02 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.8061, allocations: 4.594 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.8062, allocations: 0.8438 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.8062, allocations: 0 / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.8063, allocations: 36.34 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.8065, allocations: 242.1 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.8067, allocations: 45 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.8067, allocations: 23.22 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.8067, allocations: 4.906 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.052e-05/0.8068, allocations: 31.86 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.8068, allocations: 3.984 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003163/0.8071, allocations: 87.91 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.8071, allocations: 52.98 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.8071, allocations: 104.8 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.8071, allocations: 30.55 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.058e-05/0.8072, allocations: 81.69 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.8072, allocations: 8.875 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.8072, allocations: 12.97 kB / 1.274 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.718e-05/0.8072, allocations: 317 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.8073, allocations: 14.16 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.8074, allocations: 22.09 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.8075, allocations: 37.28 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8075, allocations: 4.594 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000176/0.8077, allocations: 63.39 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.8077, allocations: 5.438 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8077, allocations: 4.094 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.8078, allocations: 5.219 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.8078, allocations: 8.875 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.8078, allocations: 0.5625 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.8079, allocations: 5.781 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.8079, allocations: 3.172 kB / 1.275 GB, free: 4.832 MB / 0.9981 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 3.75e-05/0.8079, allocations: 115.6 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.8079, allocations: 1 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.808, allocations: 8 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.808, allocations: 1 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.808, allocations: 10.66 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.808, allocations: 0 / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.721e-05/0.8081, allocations: 158.3 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.8081, allocations: 0 / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.8081, allocations: 8.641 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.8081, allocations: 0.9688 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.8081, allocations: 3.891 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8081, allocations: 1.031 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8081, allocations: 4 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.8083, allocations: 168.7 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.8083, allocations: 77.95 kB / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.8083, allocations: 0.8438 kB / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.8084, allocations: 10.98 kB / 1.275 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.8084, allocations: 5.688 kB / 1.275 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.8085, allocations: 1 kB / 1.275 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.914e-05/0.8085, allocations: 85.34 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8085, allocations: 1.125 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000197/0.8087, allocations: 2.625 kB / 1.275 GB, free: 4.168 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: 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.0003521/0.809, allocations: 0.6962 MB / 1.276 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.8092, allocations: 38.61 kB / 1.276 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8092, allocations: 0 / 1.276 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.8093, allocations: 21.08 kB / 1.276 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.8095, allocations: 12.52 kB / 1.276 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.8099, allocations: 137.5 kB / 1.276 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.528e-05/0.81, allocations: 0.6751 MB / 1.277 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.81, allocations: 1.938 kB / 1.277 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.81, allocations: 13.48 kB / 1.277 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.81, allocations: 0 / 1.277 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.8322, allocations: 1.255 MB / 1.278 GB, free: 18.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/7.707, allocations: 11.48 kB / 1.278 GB, free: 18.26 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.140201355003228]