Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001335/0.001335, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001508/0.001508, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.996 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.8/2.8, allocations: 476.8 MB / 0.7707 GB, free: 4.285 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.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_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.002123/0.002123, allocations: 63.73 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002091/0.3769, allocations: 0.6731 MB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3782, allocations: 0.8511 MB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.3782, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.3782, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.3783, allocations: 7.938 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.3785, allocations: 11.98 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.391e-05/0.3786, allocations: 27.86 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3787, allocations: 8 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.3788, allocations: 8 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/0.3789, allocations: 11.91 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3789, allocations: 4 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.373e-05/0.3789, allocations: 8 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.3789, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.379, allocations: 15.92 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.3791, allocations: 27.42 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3791, allocations: 3.938 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3791, allocations: 4 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3791, allocations: 7.938 kB / 1.285 GB, free: 9.996 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.0005332/0.3796, allocations: 259 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.3797, allocations: 8.031 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.3797, allocations: 38.75 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3798, allocations: 0.9375 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.38, allocations: 110.5 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.38, allocations: 384 / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.38, allocations: 384 / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.3802, allocations: 50.25 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3802, allocations: 3.938 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3802, allocations: 3.984 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3802, allocations: 0 / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.3804, allocations: 35.91 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.3808, allocations: 220 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.3809, allocations: 46.53 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.381, allocations: 20.91 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3811, allocations: 4 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3811, allocations: 34.56 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3811, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003695/0.3815, allocations: 89.58 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.3815, allocations: 51.41 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3816, allocations: 97.84 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.3816, allocations: 25.7 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.3817, allocations: 88.08 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.3817, allocations: 7.953 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.3817, allocations: 13.84 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3819, allocations: 318.8 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.382, allocations: 15.97 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.3821, allocations: 15.98 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3822, allocations: 40.83 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3822, allocations: 7.938 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.3824, allocations: 65.66 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3824, allocations: 4 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3824, allocations: 3.938 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3825, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.3826, allocations: 11.98 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3826, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.3826, allocations: 12.02 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3826, allocations: 0 / 1.287 GB, free: 8.129 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 9.837e-05/0.3827, allocations: 117.7 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.3827, allocations: 7.953 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.383, allocations: 68.91 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.383, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.383, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.383, allocations: 4.031 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3831, allocations: 136.7 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3831, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.3832, allocations: 4 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.3832, allocations: 192 / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.3832, allocations: 0 / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3832, allocations: 7.984 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3832, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3835, allocations: 171.4 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-06/0.3835, allocations: 3.984 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.3835, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.3836, allocations: 4 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.3836, allocations: 7.984 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3836, allocations: 4 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.3837, allocations: 75.28 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3837, allocations: 4.031 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002081/0.3839, allocations: 4 kB / 1.287 GB, free: 7.449 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.0006677/0.3845, allocations: 0.6929 MB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.3847, allocations: 43.92 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3847, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.3848, allocations: 19.98 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3851, allocations: 4 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.3856, allocations: 136 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3859, allocations: 0.6768 MB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.3859, allocations: 0 / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.386, allocations: 19.36 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.386, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.4137, allocations: 1.373 MB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.28, allocations: 5.969 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_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_Tan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv. Warning: Get data of variable tan1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.090762701998756]