Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007911/0.0007911, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008633/0.0008633, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.9106/0.9106, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.768/1.768, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.884e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001206/0.001225, allocations: 0.6535 MB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008203/0.002045, allocations: 0.8666 MB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.002078, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.002105, allocations: 4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.002161, allocations: 3.938 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.002329, allocations: 15.92 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.002397, allocations: 23.92 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.002492, allocations: 8 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.002561, allocations: 15.92 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.487e-05/0.002596, allocations: 7.984 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.002617, allocations: 0 / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.002625, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.002641, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.002659, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.893e-05/0.002738, allocations: 39.81 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00274, allocations: 0 / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.002741, allocations: 0 / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.002745, allocations: 0 / 1.001 GB, free: 11.76 MB / 0.9636 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.000491/0.003236, allocations: 258.3 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.003281, allocations: 12.75 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.003309, allocations: 30.75 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.76e-05/0.003326, allocations: 0.9375 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.003401, allocations: 109.7 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.00341, allocations: 4.375 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.003418, allocations: 384 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.003541, allocations: 50.23 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.003548, allocations: 192 / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.003556, allocations: 384 / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.003563, allocations: 4.125 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.003648, allocations: 39.89 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.003929, allocations: 212 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.004006, allocations: 42.59 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.004054, allocations: 32.89 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.87e-05/0.004072, allocations: 0 / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004091, allocations: 34.5 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.02e-07/0.004092, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000222/0.004314, allocations: 89.67 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.004342, allocations: 51.41 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.366e-05/0.004396, allocations: 101.8 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004405, allocations: 25.7 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.004435, allocations: 84.14 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.004449, allocations: 3.953 kB / 1.002 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.004472, allocations: 13.72 kB / 1.002 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.004544, allocations: 318.8 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.004582, allocations: 15.97 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.004617, allocations: 24.02 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.00469, allocations: 40.77 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004692, allocations: 3.938 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.965e-05/0.004781, allocations: 65.59 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.004792, allocations: 8 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.004797, allocations: 0 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.004807, allocations: 4.094 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.004868, allocations: 7.984 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.004874, allocations: 4 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.004895, allocations: 3.984 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.0049, allocations: 4 kB / 1.003 GB, free: 9.895 MB / 0.9636 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 4.866e-05/0.004949, allocations: 109.8 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.004961, allocations: 7.891 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.00498, allocations: 7.312 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004981, allocations: 0 / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.004985, allocations: 4 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.004988, allocations: 0 / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.419e-05/0.005082, allocations: 124.8 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005083, allocations: 0 / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.005108, allocations: 15.92 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.00511, allocations: 3.938 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.005116, allocations: 0 / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.005117, allocations: 0 / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005117, allocations: 0 / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.005236, allocations: 164.3 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-06/0.005242, allocations: 7.938 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.00525, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.005286, allocations: 7.984 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.005314, allocations: 0 / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.005316, allocations: 0 / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.16e-05/0.005338, allocations: 79.28 kB / 1.003 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005338, allocations: 0 / 1.003 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001422/0.00548, allocations: 8 kB / 1.003 GB, free: 9.293 MB / 0.9636 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.0002747/0.005755, allocations: 0.7007 MB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.005866, allocations: 35.91 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.005867, allocations: 0 / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.005907, allocations: 27.91 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.006096, allocations: 12.16 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.006373, allocations: 130.5 kB / 1.004 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.006413, allocations: 63.34 kB / 1.004 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.561e-05/0.006428, allocations: 0 / 1.004 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.006459, allocations: 12.5 kB / 1.004 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of SimCode: time 3.7e-07/0.006459, allocations: 3.938 kB / 1.004 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.01905, allocations: 1.94 MB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.591/6.61, allocations: 3.984 kB / 1.006 GB, free: 6.414 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv. Warning: Get data of variable abs1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.773404536768794]