Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.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.001386/0.001386, allocations: 109.2 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.001622/0.001622, allocations: 219.9 kB / 22.26 MB, free: 5.121 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.992 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.296/3.296, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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.Reals.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",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.002137/0.002137, allocations: 64.25 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3595, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002163/0.3617, allocations: 0.6711 MB / 1.354 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3629, allocations: 0.8592 MB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.3629, allocations: 4 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.363, allocations: 0 / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.363, allocations: 3.938 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.3632, allocations: 15.98 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.048e-05/0.3633, allocations: 19.94 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3634, allocations: 7.984 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.3635, allocations: 15.92 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.328e-05/0.3635, allocations: 7.984 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3635, allocations: 7.938 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.3636, allocations: 4 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.3636, allocations: 4 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.3636, allocations: 7.938 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3638, allocations: 28.17 kB / 1.355 GB, free: 6.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3638, allocations: 4 kB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3638, allocations: 3.938 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.3638, allocations: 4 kB / 1.355 GB, free: 6.738 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005228/0.3643, allocations: 258.3 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3643, allocations: 8.031 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.3644, allocations: 34.75 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.843e-05/0.3645, allocations: 4.875 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3646, allocations: 118.4 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3646, allocations: 384 / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.3646, allocations: 4.375 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3648, allocations: 50.23 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3648, allocations: 3.938 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3648, allocations: 0 / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3648, allocations: 0 / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.365, allocations: 39.89 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.3654, allocations: 220 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3655, allocations: 38.5 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.3656, allocations: 24.89 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3656, allocations: 7.984 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.3657, allocations: 30.56 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3657, allocations: 4 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.366, allocations: 85.58 kB / 1.355 GB, free: 5.684 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3661, allocations: 51.41 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.3662, allocations: 97.86 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3662, allocations: 25.7 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.3662, allocations: 84.12 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.3662, allocations: 12.08 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.3663, allocations: 13.72 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3664, allocations: 314.8 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.3665, allocations: 11.98 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.3666, allocations: 19.97 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3668, allocations: 44.83 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3668, allocations: 3.938 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.3669, allocations: 69.61 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.367, allocations: 5.719 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.367, allocations: 0 / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.367, allocations: 0 / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.934e-05/0.3671, allocations: 11.98 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3671, allocations: 4.031 kB / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.3671, allocations: 4 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.3671, allocations: 0 / 1.356 GB, free: 4.871 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: 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.000104/0.3673, allocations: 117.7 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3673, allocations: 11.92 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.3675, allocations: 68.91 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3675, allocations: 32 / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3675, allocations: 4 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3675, allocations: 0 / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3677, allocations: 140.7 kB / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3677, allocations: 0 / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.3678, allocations: 11.92 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3678, allocations: 0 / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3678, allocations: 4 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3678, allocations: 0 / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3678, allocations: 0 / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.3681, allocations: 167.4 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.3681, allocations: 3.953 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3681, allocations: 4 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.3682, allocations: 7.984 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.3682, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3682, allocations: 4 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.3683, allocations: 83.3 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3683, allocations: 0 / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002171/0.3685, allocations: 4 kB / 1.357 GB, free: 4.18 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: 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.0006607/0.3691, allocations: 0.6938 MB / 1.357 GB, free: 3.457 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.3694, allocations: 43.89 kB / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3694, allocations: 0 / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.764e-05/0.3694, allocations: 15.98 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3698, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.3703, allocations: 140.1 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3706, allocations: 0.6768 MB / 1.358 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.3707, allocations: 4 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.3707, allocations: 7.438 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3707, allocations: 0 / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.3987, allocations: 1.381 MB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.07, allocations: 17.91 kB / 1.36 GB, free: 1.238 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_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_Tan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable tan1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv. Warning: Get data of variable tan1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.241059168999982]