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.0008488/0.0008488, 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.001049/0.001049, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8753/0.8753, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.77/1.77, allocations: 389.1 MB / 0.633 GB, free: 12.68 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.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: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.153e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001325/0.001347, allocations: 0.6561 MB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.002149, allocations: 0.8471 MB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.002179, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.002206, allocations: 3.938 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.00226, allocations: 3.984 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.002431, allocations: 19.86 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.002488, allocations: 27.86 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.002568, allocations: 4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.002625, allocations: 11.98 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.002655, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.002669, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.002709, allocations: 15.98 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.002722, allocations: 3.984 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.002738, allocations: 7.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.807e-05/0.002826, allocations: 19.97 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002829, allocations: 0 / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00283, allocations: 0 / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002833, allocations: 0 / 1.001 GB, free: 11.78 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.0003656/0.003199, allocations: 266.3 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.003235, allocations: 8.75 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.003262, allocations: 42.73 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.003316, allocations: 4.938 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.459e-05/0.003381, allocations: 105.8 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.003389, allocations: 384 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.003397, allocations: 384 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.003507, allocations: 54.17 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.003513, allocations: 192 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.00352, allocations: 384 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.003525, allocations: 4.125 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.003609, allocations: 35.95 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.003866, allocations: 220 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.003956, allocations: 42.44 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.003999, allocations: 24.89 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.004013, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.004031, allocations: 38.5 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.004032, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001952/0.004227, allocations: 81.64 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.004251, allocations: 51.41 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.666e-05/0.004298, allocations: 97.86 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.004306, allocations: 29.7 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.00434, allocations: 84.12 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.004357, allocations: 15.83 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.004381, allocations: 13.72 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.004444, allocations: 310.8 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/0.004482, allocations: 16.11 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.004518, allocations: 23.97 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/0.004589, allocations: 36.83 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00459, allocations: 3.938 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.345e-05/0.004684, allocations: 69.59 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.004701, allocations: 8.094 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.004707, allocations: 4 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.004718, allocations: 0 / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.00478, allocations: 15.92 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.004785, allocations: 0 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.004805, allocations: 4 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.004811, allocations: 4 kB / 1.003 GB, free: 9.902 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.538e-05/0.004856, allocations: 109.8 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.004869, allocations: 7.891 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.00499, allocations: 76.97 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.004992, allocations: 0 / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.004996, allocations: 0 / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.004999, allocations: 0 / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.093e-05/0.00509, allocations: 124.8 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.00509, allocations: 192 / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.005112, allocations: 11.98 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.005115, allocations: 3.938 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.005122, allocations: 3.984 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005122, allocations: 7.969 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005123, allocations: 0 / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.005237, allocations: 163.5 kB / 1.003 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.005242, allocations: 7.938 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.005251, allocations: 0 / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.521e-05/0.005286, allocations: 7.984 kB / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.005314, allocations: 0 / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.005316, allocations: 4 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.096e-05/0.005337, allocations: 75.31 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005337, allocations: 8 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001342/0.005471, allocations: 0 / 1.004 GB, free: 9.223 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.0002807/0.005752, allocations: 0.7006 MB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.005865, allocations: 31.97 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005867, allocations: 4.094 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.005904, allocations: 19.98 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.006109, allocations: 7.984 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.006397, allocations: 139.1 kB / 1.004 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.006436, allocations: 63.34 kB / 1.004 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.006453, allocations: 0 / 1.004 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.00649, allocations: 12.5 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.006491, allocations: 8 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.01991, allocations: 1.948 MB / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/6.814, allocations: 6.25 kB / 1.006 GB, free: 6.34 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.009842943400145]