Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008478/0.0008478, 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.001127/0.001127, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9132/0.9132, allocations: 177.1 MB / 202.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.75/1.75, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.317e-06/3.317e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.454e-05, allocations: 2.281 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001337/0.001361, allocations: 0.6716 MB / 0.9817 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.002172, allocations: 0.8471 MB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.002203, allocations: 0 / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.00223, allocations: 0 / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.002294, allocations: 7.875 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.002477, allocations: 15.97 kB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.71e-05/0.002544, allocations: 27.92 kB / 0.9826 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.002634, allocations: 0 / 0.9826 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.564e-05/0.002699, allocations: 11.98 kB / 0.9826 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.369e-05/0.002733, allocations: 11.94 kB / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.002748, allocations: 4 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.225e-05/0.00279, allocations: 11.98 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.002813, allocations: 4 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.002829, allocations: 3.984 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002931, allocations: 27.95 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002933, allocations: 0 / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002934, allocations: 3.938 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.002938, allocations: 4 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 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.0003706/0.003308, allocations: 262.3 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.003351, allocations: 8.031 kB / 0.9829 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.00338, allocations: 38.75 kB / 0.9829 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.003445, allocations: 4.891 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.766e-05/0.003523, allocations: 105.8 kB / 0.983 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.003532, allocations: 384 / 0.983 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.00354, allocations: 4.375 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.003678, allocations: 46.23 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.003687, allocations: 192 / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.003697, allocations: 4.375 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.003705, allocations: 8.125 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.807e-05/0.003803, allocations: 35.95 kB / 0.9831 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.004105, allocations: 212 kB / 0.9833 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.004197, allocations: 38.59 kB / 0.9834 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.004255, allocations: 24.91 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.004276, allocations: 0 / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.0043, allocations: 34.5 kB / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.004301, allocations: 0 / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002325/0.004534, allocations: 93.52 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.004567, allocations: 51.41 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.004638, allocations: 105.8 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.004648, allocations: 25.7 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.004689, allocations: 84.09 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.004711, allocations: 7.891 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.004739, allocations: 17.72 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.004818, allocations: 310.8 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.004866, allocations: 24.09 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.004903, allocations: 15.98 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/0.004982, allocations: 36.83 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.004985, allocations: 0 / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.005093, allocations: 69.62 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.00511, allocations: 12 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.005116, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.00513, allocations: 3.938 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.005202, allocations: 7.984 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.005208, allocations: 4 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.005231, allocations: 7.984 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.005236, allocations: 0 / 0.9843 GB, free: 15.02 MB / 0.948 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 6.204e-05/0.005298, allocations: 109.8 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.005313, allocations: 7.938 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.005455, allocations: 72.91 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.005458, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.005462, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.005465, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.005572, allocations: 132.7 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.005574, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.005601, allocations: 7.984 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.005604, allocations: 4.125 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.005611, allocations: 4.031 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.005613, allocations: 4 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005614, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.00575, allocations: 167.5 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.005758, allocations: 3.938 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.005767, allocations: 0 / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.005805, allocations: 7.984 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.005838, allocations: 4 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.005841, allocations: 11.97 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.595e-05/0.005867, allocations: 83.28 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005867, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001412/0.006009, allocations: 4 kB / 0.9849 GB, free: 14.33 MB / 0.948 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.0003197/0.006328, allocations: 0.6996 MB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.006487, allocations: 40 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.006488, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.806e-05/0.006536, allocations: 23.91 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.00679, allocations: 4 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.007125, allocations: 134.5 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.007168, allocations: 59.34 kB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.007187, allocations: 3.938 kB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.007223, allocations: 16.62 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/0.007224, allocations: 0 / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.02548, allocations: 1.936 MB / 0.9877 GB, free: 11.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/6.675, allocations: 6.75 kB / 0.9877 GB, free: 11.46 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv. Warning: Get data of variable tan1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.930350166745484]