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.0007789/0.0007789, 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.00122/0.00122, 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.8981/0.8981, allocations: 177.1 MB / 202.7 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.656e-06/3.656e-06, allocations: 0 / 0.9506 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.585e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00137/0.001396, allocations: 0.6705 MB / 0.9512 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008133/0.00221, allocations: 0.8354 MB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.002251, allocations: 4 kB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.002282, allocations: 3.938 kB / 0.952 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.002346, allocations: 3.938 kB / 0.952 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.002551, allocations: 19.91 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.777e-05/0.002619, allocations: 23.92 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.002715, allocations: 7.938 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.338e-05/0.002788, allocations: 15.98 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.212e-05/0.002821, allocations: 4 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.002836, allocations: 0 / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.00288, allocations: 7.938 kB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.002896, allocations: 11.98 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.002913, allocations: 7.984 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.003025, allocations: 23.97 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003028, allocations: 0 / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.394e-06/0.00303, allocations: 0 / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.003036, allocations: 0 / 0.9522 GB, free: 1.746 MB / 0.9011 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.0003735/0.003409, allocations: 268.3 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.003455, allocations: 8.031 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.003487, allocations: 30.75 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.003566, allocations: 16.81 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.723e-05/0.003663, allocations: 105.8 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.003676, allocations: 12.31 kB / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.003684, allocations: 384 / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.003828, allocations: 54.17 kB / 0.9526 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.003836, allocations: 192 / 0.9526 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.003845, allocations: 384 / 0.9526 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.003852, allocations: 4.125 kB / 0.9526 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.658e-05/0.003949, allocations: 39.94 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.004241, allocations: 208.1 kB / 0.9529 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.573e-05/0.004327, allocations: 34.56 kB / 0.9529 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.004376, allocations: 24.89 kB / 0.9529 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.004398, allocations: 3.938 kB / 0.9529 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.004419, allocations: 38.5 kB / 0.953 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.00442, allocations: 0 / 0.953 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002515/0.004672, allocations: 85.73 kB / 0.9531 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.004703, allocations: 51.41 kB / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.00477, allocations: 97.86 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.00478, allocations: 25.7 kB / 0.9532 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.004824, allocations: 88.12 kB / 0.9533 GB, free: 412 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.004843, allocations: 3.953 kB / 0.9533 GB, free: 408 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.004868, allocations: 13.72 kB / 0.9533 GB, free: 388 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.004959, allocations: 314.8 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.005005, allocations: 15.98 kB / 0.9536 GB, free: 48 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.00504, allocations: 27.94 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.005126, allocations: 36.83 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005128, allocations: 0 / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000101/0.005229, allocations: 73.55 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.005241, allocations: 4 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005245, allocations: 4.094 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005256, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.005322, allocations: 11.98 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.005327, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.005348, allocations: 4 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.005353, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 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 5.437e-05/0.005407, allocations: 117.8 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.00542, allocations: 11.86 kB / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.005565, allocations: 68.97 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.005567, allocations: 4 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.005571, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005574, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.005676, allocations: 132.7 kB / 0.9541 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.005677, allocations: 0 / 0.9541 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.005706, allocations: 8 kB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.00571, allocations: 11.86 kB / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.005717, allocations: 4 kB / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005719, allocations: 0 / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00572, allocations: 4.031 kB / 0.9541 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.00585, allocations: 159.5 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.005858, allocations: 11.89 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.005868, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.005904, allocations: 4 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.00594, allocations: 3.984 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.005943, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.005972, allocations: 83.28 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005972, allocations: 4.031 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001387/0.006111, allocations: 4 kB / 0.9544 GB, free: 15.18 MB / 0.9167 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.000346/0.006457, allocations: 0.7006 MB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.006589, allocations: 31.97 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00659, allocations: 0 / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.006629, allocations: 20.08 kB / 0.9551 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.006886, allocations: 14.33 kB / 0.9551 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.007254, allocations: 130.5 kB / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.007305, allocations: 55.36 kB / 0.9553 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.007332, allocations: 11.92 kB / 0.9553 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.007372, allocations: 8.5 kB / 0.9553 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of SimCode: time 5.1e-07/0.007373, allocations: 0 / 0.9553 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.02341, allocations: 1.939 MB / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/6.713, allocations: 9.375 kB / 0.9572 GB, free: 12.32 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.76804001443088]